Jump to content

Quantum finite automaton: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Informal description: start work on this section
Line 5: Line 5:
==Informal description==
==Informal description==
{{inuse}}
{{inuse}}
A quantum finite automaton generalizes a [[deterministic finite automaton]] (DFA) by weighting a state transition arrow by a complex number encoding the probability of that particular state transition taking place. That is, rather than having a single arrow uniquely determine a state transition, it instead only denotes one of several possible transitions. In this sense, the QFA somewhat resembles a [[probabilistic finite automaton]] (PFA). Recall that for each DFA, there is an equivalent PFA, and vice-versa; this is the famous theorem of X. In this equivalence, a single state of a PFA is in fact some subset of states in a DFA.
There is an intuitive way to understand how quantum finite automata generalize [[deterministic finite automata]] (DFA). Consider the representation of a DFA as a directed graph, with states as nodes in the grap, and arrows representing state transitions. Each arrow is labelled with a possible input symbol, so that, given a specific state and an input symbol, the arrow points at the next state.
by weighting a state transition arrow by a complex number encoding the probability of that particular state transition taking place. That is, rather than having a single arrow uniquely determine a state transition, it instead only denotes one of several possible transitions. In this sense, the QFA somewhat resembles a [[probabilistic finite automaton]] (PFA). Recall that for each DFA, there is an equivalent PFA, and vice-versa; this is the famous theorem of X. In this equivalence, a single state of a PFA is in fact some subset of states in a DFA.


A PFA can be generalized into a [[Markov chain]] in the following interesting way: each state of the PFA can be taken to be a distribution of probabilities: that is, a column of real numbers, summing to one, with the value of each row indicating the probability of finding the equivalent DFA in that state.
A PFA can be generalized into a [[Markov chain]] in the following interesting way: each state of the PFA can be taken to be a distribution of probabilities: that is, a column of real numbers, summing to one, with the value of each row indicating the probability of finding the equivalent DFA in that state.

Revision as of 15:15, 2 December 2013

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 work by accepting a finite-length string of letters 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.

Informal description

There is an intuitive way to understand how quantum finite automata generalize deterministic finite automata (DFA). Consider the representation of a DFA as a directed graph, with states as nodes in the grap, and arrows representing state transitions. Each arrow is labelled with a possible input symbol, so that, given a specific state and an input symbol, the arrow points at the next state.

by weighting a state transition arrow by a complex number encoding the probability of that particular state transition taking place. That is, rather than having a single arrow uniquely determine a state transition, it instead only denotes one of several possible transitions.  In this sense, the QFA somewhat resembles a probabilistic finite automaton (PFA).  Recall that for each DFA, there is an equivalent PFA, and vice-versa; this is the famous theorem of X. In this equivalence, a single state of a PFA is in fact some subset of states in a DFA. 

A PFA can be generalized into a Markov chain in the following interesting way: each state of the PFA can be taken to be a distribution of probabilities: that is, a column of real numbers, summing to one, with the value of each row indicating the probability of finding the equivalent DFA in that state.

Measure-once automata

Measure-once automata were introduced by Cris Moore and James P. Crutchfield.[1] They may be defined formally as follows.

As with an ordinary finite automaton, the quantum automaton is considered to have possible internal states, represented in this case by an -state qubit . More precisely, the -state qubit is an element of -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 , 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 , so that, given a -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 started 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 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 by a quantum finite automaton, if, for all sentences in the language, (and a given, fixed initial state ), one has .

Example

Consider the classical deterministic finite automaton given by the state transition table

State Transition Table
  Input
State
1 0
S1 S1 S2
S2 S2 S1
  State Diagram
DFAexample.svg

The quantum state is a vector, in bra-ket notation

with the complex numbers normalized so that

The unitary transition matrices are

and

Taking 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 and are non-zero. More subtle behaviour occurs when the matrices and 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.

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 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, , and , each projecting to the respective subspace:

and so on. The parsing of the input string 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 , 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 . Processing 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 . Here, , , and are as defined above. The initial state is denoted by . The unitary transformations are denoted by the map ,

so that

Geometric generalizations

The above constructions indicate how the concept of a quantum finite automaton can be generalized to 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.

See also

References

  1. ^ C. Moore, J. Crutchfield, "Quantum automata and quantum grammars", Theoretical Computer Science, 237 (2000) pp 275-306.
  2. ^ Kondacs, A.; Watrous, J. (1997), "On the power of quantum finite state automata", Proceedings of the 38th Annual Symposium on Foundations of Computer Science, pp. 66–75