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. QFA's are, in turn, special cases of geometric finite automata or topological finite automata.
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 :
Thus, the triple form a quantum semiautomaton.
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 [dubious ] 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] Geometric generalizations
The above constructions indicate how the concept of a quantum finite automaton can be generalized to an arbitrary topological spaces. For example, one may take some (N-dimensional) Riemann symmetric space to take the place of . In place of the unitary matrices, one uses the isometries of the Riemannian manifold, or, more generally, some set of open functions appropriate for the given topological space. The initial state may be taken to be a point in the space. The set of accept states can be taken to be some arbitrary subset of the topological space. One then says that a formal language is accepted by this topological automaton if the point, after iteration by the homeomorphisms, intersects the accept set. But, of course, this is nothing more than the standard definition of an M-automaton. The behaviour of topological automata is studied in the field of topological dynamics.
The quantum automaton differs from the topological automaton in that, instead of having a binary result (is the iterated point in, or not in, the final set?), one has a probability. The quantum probability is the (square of) the initial state projected onto some final state P; that is . But this probability amplitude is just a very simple function of the distance between the point and the point in , under the distance metric given by the Fubini-Study metric. To recap, the quantum probability of a language being accepted can be interpreted as a metric, with the probability of accept being unity, if the metric distance between the initial and final states is zero, and otherwise the probability of accept is less than one, if the metric distance is non-zero. Thus, it follows that the quantum finite automaton is just a special case of a geometric automaton or a metric automaton, where is generalized to some metric space, and the probability measure is replaced by a simple function of the metric on that space.
[edit] See also
[edit] References
- ^ C. Moore, J. Crutchfield, "Quantum automata and quantum grammars", Theoretical Computer Science, 237 (2000) pp 275-306.
- ^ A. Kondacs 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 (2001), “Quantum stochastic processes”, in Hazewinkel, Michiel, Encyclopaedia of Mathematics, Kluwer Academic Publishers, ISBN 978-1556080104 (Provides an intro to quantum Markov chains.)
- Alex Brodsky, Nicholas Pipenger, "Characterization of 1-way Quantum Finite Automata", SIAM Journal on Computing 31(2002) pp 1456-1478.
- Vincent D. Blondel, Emmanual Jeandel, Pascal Koiran and Natacha Portier, "Decidable and Undecidable Problems about Quantum Automata", SIAM Journal on Computing 34 (2005) pp 1464-1473.