SearcharxivSearch

arXiv subjects

Sarah Marshall

Publications and source records attributed to Sarah Marshall.

2 recordsLinked to original sources

Q# as a Quantum Algorithmic Language

Q# is a standalone domain-specific programming language from Microsoft for writing and running quantum programs. Like most industrial languages, it was designed without a formal specification, which can naturally lead to ambiguity in its interpretation. We aim to provide a formal language definition for Q#, placing the language on a solid mathematical foundation and enabling further evolution of its design and type system. This paper presents $\lambda$-Q#, an idealized version of Q# that illustrates how we may view Q# as a quantum Algol (algorithmic language). We show the safety properties enforced by $\lambda$-Q#'s type system and present its equational semantics based on a fully complete algebraic theory by Staton.

cs.PL

Warranty Cost Analysis with an Alternating Geometric Process

In this study we model the warranty claims process and evaluate the warranty servicing costs under non-renewing and renewing free repair warranties. We assume that the repair time for rectifying the claims is non-zero and the repair cost is a function of the length of the repair time. To accommodate the ageing of the product and repair equipment, we use a decreasing geometric process to model the consecutive operational times and an increasing geometric process to model the consecutive repair times. We identify and study the alternating geometric process (AGP), which is an alternating process with cycles consisting of the item's operational time followed by the corresponding repair time. We derive new results for the AGP in finite horizon and use them to evaluate the warranty costs over the warranty period and over the life cycle of the product under a non-renewing free repair warranty (NRFRW), a renewing free repair warranty (RFRW) and a restricted renewing free repair warranty (RRFRW(n)). Properties of the model are demonstrated using a simulation study.

q-fin.GN