11 research outputs found
The Quantum Monadology
The modern theory of functional programming languages uses monads for
encoding computational side-effects and side-contexts, beyond bare-bone program
logic. Even though quantum computing is intrinsically side-effectful (as in
quantum measurement) and context-dependent (as on mixed ancillary states),
little of this monadic paradigm has previously been brought to bear on quantum
programming languages.
Here we systematically analyze the (co)monads on categories of parameterized
module spectra which are induced by Grothendieck's "motivic yoga of operations"
-- for the present purpose specialized to HC-modules and further to set-indexed
complex vector spaces. Interpreting an indexed vector space as a collection of
alternative possible quantum state spaces parameterized by quantum measurement
results, as familiar from Proto-Quipper-semantics, we find that these
(co)monads provide a comprehensive natural language for functional quantum
programming with classical control and with "dynamic lifting" of quantum
measurement results back into classical contexts.
We close by indicating a domain-specific quantum programming language (QS)
expressing these monadic quantum effects in transparent do-notation, embeddable
into the recently constructed Linear Homotopy Type Theory (LHoTT) which
interprets into parameterized module spectra. Once embedded into LHoTT, this
should make for formally verifiable universal quantum programming with linear
quantum types, classical control, dynamic lifting, and notably also with
topological effects.Comment: 120 pages, various figure
Quantum Mechanics over Sets: A pedagogical model with non-commutative ļ¬nite probability theory as its quantum probability calculus
This paper shows how the classical ļ¬nite probability theory (with equiprobable outcomes) can be reinterpreted and recast as the quantum probability calculus of a pedagogical or toy model of quantum mechanics over sets (QM/sets). There have been several previous attempts to develop a quantum-like model with the base ļ¬eld of C replaced by Z2. Since there are no inner products on vector spaces over ļ¬nite ļ¬elds, the problem is to deļ¬ne the Dirac brackets and the probability calculus. The previous attempts all required the brackets to take values in Z2. But the usual QM brackets āØĻ|Ļā© give the āoverlapā between states Ļ and Ļ, so for subsets S, T ā U, the natural deļ¬nition is āØS|T ā© = |S ā© T | (taking values in the natural numbers). This allows QM/sets to be developed with a full probability calculus that turns out to be a non-commutative extension of classical Laplace-Boole ļ¬nite probability theory. The pedagogical model is illustrated by giving simple treatments of the indeterminacy principle, the double-slit experiment, Bellās Theorem, and identical particles in QM/Sets. A more technical appendix explains the mathematics behind carrying some vector space structures between QM over C and QM/Sets over Z2
Quantum Mechanics over Sets: A pedagogical model with non-commutative ļ¬nite probability theory as its quantum probability calculus
This paper shows how the classical ļ¬nite probability theory (with equiprobable outcomes) can be reinterpreted and recast as the quantum probability calculus of a pedagogical or toy model of quantum mechanics over sets (QM/sets). There have been several previous attempts to develop a quantum-like model with the base ļ¬eld of C replaced by Z2. Since there are no inner products on vector spaces over ļ¬nite ļ¬elds, the problem is to deļ¬ne the Dirac brackets and the probability calculus. The previous attempts all required the brackets to take values in Z2. But the usual QM brackets āØĻ|Ļā© give the āoverlapā between states Ļ and Ļ, so for subsets S, T ā U, the natural deļ¬nition is āØS|T ā© = |S ā© T | (taking values in the natural numbers). This allows QM/sets to be developed with a full probability calculus that turns out to be a non-commutative extension of classical Laplace-Boole ļ¬nite probability theory. The pedagogical model is illustrated by giving simple treatments of the indeterminacy principle, the double-slit experiment, Bellās Theorem, and identical particles in QM/Sets. A more technical appendix explains the mathematics behind carrying some vector space structures between QM over C and QM/Sets over Z2