Quantum finite automata
From Wikipedia, the free encyclopedia
In quantum computing, quantum finite automata or QFA are a quantum analog of probabilistic automata. They are related to quantum computers in a similar fashion as finite automata are related to Turing machines. Several types of automata may be defined, including measure-once and measure-many automata. Quantum finite automata can also be understood as the quantization of subshifts of finite type, or as a quantization of Markov chains.
The automata works by accepting a finite-length string of letters σi from a finite alphabet , and assigning to each such string a probability indicating the probability of the automaton being in an accept state; that is, indicating whether the automaton accepted or rejected the string.
Contents |
[edit] Measure-once automata
Measure-once automata were introduced by Moore and Crutchfield[1]. They may be defined formally as follows.
As with an ordinary finite automaton, the quantum automaton is considered to have N possible internal states, represented in this case by an N-state qubit . More precisely, the N-state qubit is an element of N-dimensional complex projective space, carrying an inner product that is the Fubini-Study metric.
The state transitions, transition matrixes or de Bruijn graphs are represented by a collection of unitary matrixes Uα, with one unitary matrix for each letter . That is, given an input letter α, the unitary matrix describes the transition of the automaton from its current state to its next state :
The accept state of the automaton is given by an projection matrix P, so that, given a N-dimensional quantum state , the probability of being in the accept state is
The probability of the state machine accepting a given finite input string is given by
Here, the vector is understood to represent the initial state of the automaton, that is, the state the automaton was in before it stated accepting the string input. The empty string is understood to be just the unit matrix, so that
is just the probability of the initial state being an accepted state.
Because the left-action of Uα on reverses the order of the letters in the string σ, it is not uncommon for QFA's to be defined using a right action on the Hermitian transpose states, simply in order to keep the order of the letters the same.
A regular language is accepted with probability p by a quantum finite automaton, if, for all sentences σ in the language, (and a given, fixed initial state ), one has .
[edit] Example
Consider the classical deterministic finite state machine given by the state transition table
|
State Diagram |
The quantum state is a vector, in bra-ket notation
with the complex numbers a1,a2 normalized so that
The unitary transition matrices are
and
Taking S1 to be the accept state, the projection matrix is
As should be readily apparent, if the initial state is the pure state or , then the result of running the machine will be exactly identical to the classical deterministic finite state machine. In particular, there is a language accepted by this automaton with probability one, for these initial states, and it is identical to the regular language for the classical DFA, and is given by the regular expression:
The non-classical behaviour occurs if both a1 and a2 are non-zero. More subtle behaviour occurs when the matrices U0 and U1 are not so simple; see, for example, the de Rham curve as an example of a quantum finite state machine acting on the set of all possible finite binary strings.
[edit] Measure-many automata
Measure-many automata were introduced by Kondacs and Watrous in 1997.[2]. The general framework resembles that of the measure-once automaton, except that instead of there being one projection, at the end, there is a projection, or quantum measurement, performed after each letter is read. A formal definition follows.
The Hilbert space is decomposed into three orthogonal subspaces
In the literature, these orthogonal subspaces are usually formulated in terms of the set Q of orthogonal basis vectors for the Hilbert space . This set of basis vectors is divided up into subsets and , such that
is the linear span of the basis vectors in the accept set. The reject space is defined analogously, and the remaining space is designated the non-halting subspace. There are three projection matrices, Pacc, Prej and Pnon, each projecting to the respective subspace:
and so on. The parsing of the input sring proceeds as follows. Consider the automaton to be in a state . After reading an input letter α, the automaton will be in the state
At this point, a measurement is performed on the state , using the projection operators P, at which time its wave-function collapses into one of the three subspaces or or . The probability of collapse is given by
for the "accept" subspace, and analogously for the other two spaces.
If the wave function has collapsed to either the "accept" or "reject" subspaces, then further processing halts. Otherwise, processing continues, with the next letter read from the input, and applied to what must be an eigenstate of Pnon. Processng continues until the whole string is read, or the machine halts. Often, additional symbols κ and $ are adjoined to the alphabet, to act as the left and right end-markers for the string.
In the literature, the meaure-many automaton is often denoted by the tuple (Q;Σ;δ;q0;Qacc;Qrej). Here, Q, Σ, Qacc and Qrej are as defined above. The initial state is denoted by . The unitary transformations are denoted by the map δ,
so that
[edit] Quantum Markov chain
The quantum Markov chain is a reformulation of the ideas of a classical Markov chain, replacing the classical definitions of probability with quantum probability. Very roughly, the theory of a quantum Markov chain resembles that of a measure-many automaton, with some important substitutions: the initial state is to be replaced by a density matrix, and the projection operators are to be replaced by positive operator valued measures.
More precisely, a quantum Markov chain is a pair (E,ρ) with ρ a density matrix and E a quantum channel such that
is a completely positive trace-preserving map, and a C*-algebra of bounded operators. The pair must obey the quantum Markov condition, that
for all .
[edit] References
- ^ C. Moore, J. Crutchfield, "Quantum automata and quantum grammars", Theoretical Computer Science, 237 (2000) pp 275-306.
- ^ A. Kondas and J. Watrous, "On the power of quantum finite state automata", Proceedings of the 38th Annual Symposium on Foundations of Computer Science, (1997), IEEE Computer Society, Los Alamitos, pp. 66-75
- L. Accardi, "Quantum stochastic processes" SpringerLink Encyclopaedia of Mathematics (2001) (Provides an intro to quantum Markov chains.)
- The first published reports introducing the concept of Quantum Automaton:
Baianu, I. 1971a. "Categories, Functors and Quantum Automata Theory". The 4th Intl. Congress LMPS, August-Sept.1971; Baianu, I.1971b. "Organismic Supercategories and Qualitative Dynamics of Systems." Bull. Math. Biophys., 33 (339-353): http://cogprints.ecs.soton.ac.uk/archive/00003674/01/ORganismic_supercategories_and_qualitative_dynamics_of_systems_final3.pdf.
- Recent Updates:
- Quantum Reversible Automata: http://cogprints.org/3697/
- Quantum Nano-Automata.: http://doc.cern.ch/archive/electronic/other/ext/ext-2004-125/Quantumnanoautomata.doc
- Categories of Quantum Automata.: http://fs512.fshn.uiuc.edu/QAuto.pdf.