Automata and Quantum Computing
Automata and Quantum Computing
Abstract. Quantum computing is a new model of computation, based on quantum physics. Quan-
tum computers can be exponentially faster than conventional computers for problems such as fac-
toring. Besides full-scale quantum computers, more restricted models such as quantum versions
of finite automata have been studied. In this paper, we survey various models of quantum finite
automata and their properties. We also provide some open questions and new directions for re-
searchers.
Contents
1 Introduction 2
2 Mathematical background 3
3 Preliminaries 6
4 One-way QFAs 7
4.1 Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2 Succinctness results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.3 Bounded-error language recognition in restricted models . . . . . . . . . 13
4.4 Unbounded-error, nondeterminism, and alternation . . . . . . . . . . . . 14
4.5 Decidability and undecidability results . . . . . . . . . . . . . . . . . . . 15
4.5.1 Equivalence and minimization. . . . . . . . . . . . . . . . . . . . 15
4.5.2 Emptiness problems and problems regarding isolated cutpoint. . . 16
4.5.3 Other problems. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5 Two-way QFAs 17
5.1 2-way QFAs with classical head . . . . . . . . . . . . . . . . . . . . . . 17
* A. Yakaryılmaz worked on the chapter when he was in Boğaziçi University in Turkey, University of Latvia,
and LNCC in Brazil.
2 A. Ambainis, A. Yakaryılmaz
1 Introduction
Quantum computing combines quantum physics and computer science, by studying com-
putational models based on quantum physics (which is substantially different from con-
ventional physics) and building quantum devices which implement those models. If a
quantum computer is built, it will be able to solve certain computational problems much
faster than conventional computers.
The best known examples of such problems are factoring and discrete logarithm.
These two number theoretic problems are thought to be very difficult for conventional
computers but can be solved efficiently (in polynomial time) on a quantum computer
[94]. Since several widely used cryptosystems (such as RSA and Diffie-Hellman) are
based on the difficulty of factoring or discrete logarithm, a quantum computer would be
able to break those cryptosystems, shaking up the foundations of cryptography.
Another, equally surprising discovery was made in 1996, by Lov Grover [50] who
designed a quantum algorithm√that solves a general exhaustive search problem with N
possible solutions in time O( N ). This provides a quadratic speedup for a range of
search problems, from problems that are solvable in polynomial time classically to NP-
complete problems.
Many other quantum algorithms have been discovered since then. (More information
can be found in surveys [13, 72] and the “Quantum Algorithm Zoo” website [57].)
Given that finite automata are one of the most basic models of computation, it is
natural to study them in the quantum setting. Soon after the discovery of Shor’s factoring
algorithm [94], the first models of quantum finite automata (QFAs) appeared [62, 71]. A
number of different models and questions about the power of QFAs and their properties
have been studied since then.
In this chapter, we cover most of this work. We particularly focus on the results which
show advantages of QFAs over their classical1 counterparts because those results show
how “quantumness” adds power to the computational models.
We note that some of early research on QFAs also claimed that, in some contexts,
QFAs can be weaker than their classical counterparts. This was due to the first definitions
1 In the context of quantum computing, “classical” means “non-quantum”. For finite automata, this usually
http://publication.wikia.com/wiki/Quantum automata
2 Mathematical background
In this section, we review the basics of quantum computation. We refer the reader to [76]
for more information.
Quantum systems. The simplest way towards understanding the quantum model is
by thinking of as a generalization of probabilistic systems. If we have a probabilistic
system with m possible states 1, 2, . . . , m, we can describe it by a probability distribution
p1 , . . . , pm over those m possibilities. The probabilities pi must be nonnegative real
numbers and satisfy p1 + · · · + pm = 1. In the quantum case, the probabilities p1 , . . . , pm
are replaced by amplitudes α1 , . . . , αm . The amplitudes can be complex numbers and
must satisfy |α1 |2 + · · · + |αm |2 = 1.
More formally, let us consider a quantum systems with m basis states (for some fi-
nite m) which we denote by |q1 i, |q2 i, . . . , |qm i. A state of such a system is a linear
combination of basis states with complex coefficients (called amplitudes)
that must satisfy |α1 |2 + · · · + |αm |2 = 1. We say that |ψi is a superposition of |q1 i,
. . ., |qm i. For example, if we have a system with 2 basis states |0i and |1i, some of the
possible superpositions are 45 |0i + 35 |1i, 54 |0i − 35 |1i, and √12 |0i + √12 |1i.
4 A. Ambainis, A. Yakaryılmaz
Then, the basis states |qi i are vectors with 1 in the ith component and 0 everywhere
else and (2.1) canp be interpreted as the addition of vectors. The length of the vector
|ψi is kψk = |α1 |2 + · · · + |αm |2 . Thus, in vector language, the requirement that
|α1 |2 + · · · + |αm |2 = 1 is equivalent to just saying that kψk = 1. That is, a quantum
state is a vector of length 1.
Unitary transformations. A transformation on a quantum state is specified by a
transformation matrix U . If the state before the transformation is |ψi, the state after
the transformation is U |ψi. A transformation is valid (allowed by the rules of quantum
physics) if and only if kψk = 1 implies kU |ψik = 1. Transformation matrices which
satisfy this constraint are called unitary.
A transformation U can be also specified by describing U |q1 i, . . . , U |qm i. Then, for
any |ψi = α1 |q1 i + α2 |q2 i + · · · + αm |qm i, we have
U |ψi = α1 U |q1 i + α2 U |q2 i + · · · + αm U |qm i.
For example, if we have a system with 2 basis states |0i and |1i, we can specify a trans-
formation H by saying that H maps
1 1 1 1
|0i → √ |0i + √ |1i and |1i → √ |0i − √ |1i. (2.2)
2 2 2 2
This determines how H acts on superpositions of |0i and |1i, For example, (2.2) implies
that H maps 54 |0i − 35 |1i to
4 1 1 3 1 1 7 1
√ |0i + √ |1i − √ |0i − √ |1i = √ |0i + √ |1i.
5 2 2 5 2 2 5 2 5 2
Measurements. To obtain information about a quantum state, we have to measure
it. The simplest measurement is observing |ψi = α1 |q1 i + α2 |q2 i + · · · + αm |qm i
with respect to |q1 i, . . . , |qm i. It gives |qj i with probability |αj |2 . (kψk = 1 guarantees
that probabilities of different outcomes sum to 1.) After the measurement, the state of
the system changes to |qj i and repeating the measurement gives the same state |qj i. For
example, observing 45 |0i+ 53 |1i gives 0 with probability ( 45 )2 = 16 25 and 1 with probability
( 53 )2 = 25
9
.
Partial measurement. In the context of QFAs, it may be the case that we only need
to know whether the state qi is an accepting state or not. In this case, we can perform
a partial measurement. Let Q1 , . . . , Qk be a partition of {q1 , q2 , . . . , qm } into disjoint
subsets. Then, measuring a state |ψi = α1 |q1 i + α2 P |q2 i + · · · + αm |qm i with respect to
this partition gives result Qi with probability pi = qj ∈Qi |αj |2 and the state after the
measurement is
X αj
√ |qj i.
pi
qj ∈Qi
Automata and Quantum Computing 5
For example, if the quantum state is 21 |1i + 12 |2i + 21 |3i + 21 |4i and the partition is Q1 =
{1, 2} and Q2 = {3, 4}, a partial measurement would give the result Q1 with probability
( 12 )2 + ( 12 )2 = 12 and that state after the measurement is
1 1
√ |1i + √ |2i.
2 2
Such a measurement tells whether a QFA accepts a string and, at the same time, preserves
the part of the quantum state which consists of accepting states (or the part of the quantum
state which consists of nonaccepting states).
Dirac notation. As already mentioned above, we can view a quantum state |ψi as
a vector consisting of amplitudes. hψ| denotes the conjugate transpose of this vector:
hψ| = α∗1 α∗2 · · · α∗m , where α∗i denotes the conjugate transpose of the complex
number αi . (If αi is real, then α∗i = αi .) If we multiply |ψi with hψ| (according to the
usual rules for matrix multiplication), we get a m × m matrix:
If we measure a mixed state (pj , |ψj i), the probabilities of different measurement out-
comes can be calculated from the density matrix ρ. Thus, ρ provides a complete descrip-
tion of a mixed state: there may be multiple decompositions (pj , |ψj i) that give the same
matrix ρ but they are all equivalent with respect to any measurement that we may perform.
Superoperators. In general, we can perform a sequence of unitary transformations
and measurements on a quantum state, with each transformation possibly depending on
the results of the previous measurements. Such sequence is called a completely positive
superoperator or CPSO.
Alternatively, a completely positive superoperator can be described by a sequence of
m × m matrices E = {E1 , . . . , Ek } (called Kraus operators) such that i=1 Ei† Ei = I.
Pk
Such a CPSO maps a mixed state with the density matrix ρ to a mixed state with the
density matrix ρ′ = E(ρ) = i=1 Ei ρEi† .
Pk
The two definitions are equivalent: for any sequence of unitary transformations and
measurements, there is a set of Kraus operators E1 , . . . , Ek which produces the same re-
sult and the other way around. A bistochastic quantum operation, say E = {E1 , . . . , Em },
is a special kind of superoperator satisfying both i=1 Ei† Ei = I and i=1 Ei Ei† = I.
Pk Pk
6 A. Ambainis, A. Yakaryılmaz
3 Preliminaries
Basic notations: Throughout the chapter,
• Σ is the input alphabet not containing the end markers ¢ and $ and Σ̃ = Σ ∪ {¢, $}.
• For a given string w, |w| is the length of w, wi is the ith symbol of w, and w̃
represents the string ¢w$.
• Q is the set of internal states, where q1 is the initial state. Qa ⊆ Q is the set of
accepting states.
• fM (w) is the accepting probability (or the accepting value) of M on the string w.
• For a given vector (row or column) v, v[i] is the ith entry of v.
• For a given matrix A, A[i, j] is the (i, j)th entry of A.
Transition amplitudes and probabilities: In both probabilistic and quantum finite au-
tomata [85, 80, 62], the transition values (probabilities or amplitudes) are traditionally
allowed to be in R and in C, respectively. On the other hand, the transition values of Tur-
ing machines (TMs) [43, 15, 100] are often selected from the restricted subsets of R or
C. For example, for probabilistic Turing machines, it is often assumed that, at each step,
there are two possible choices and the machine chooses each of them with probability 1/2.
In this chapter, we assume the most general model possible. That is, unless specified
otherwise, the transition...values of probabilistic (or quantum) machines are supposed to
be in R (or C). We use R, C̃, and A to denote the computable real numbers, efficiently
computable complex numbers, and algebraic numbers, respectively [15, 100].
Classical finite automata: We will compare quantum automata with following models
of classical automata:
• deterministic finite automaton (DFA),
• nondeterministic finite automaton (NFA),
• probabilistic finite automaton (PFA), and,
• generalized finite automaton (GFA) of Turakainen [95].
Automata and Quantum Computing 7
The first three models are quite widely known. Each of them can be studied both in 1-way
version (where the head of the automaton moves from the left to the right) and in 2-way
version (where the automaton is allowed to move in both direction). We refer to 1-way
models as 1DFA, 1NFA and 1PFA and to 2-way models as 2DFA, 2NFA and 2PFA.
A 1-way probabilistic finite automaton (1PFA) [85] can be described by a 5-tuple
P = (Q, Σ, {Aσ | σ ∈ Σ̃}, q1 , Qa ), where Aσ is the transition matrix, i.e. Aσ [j, i] is the
probability of the transition from state qi to state qj whenP reading symbol σ. We require
that all Aσ are stochastic: Aσ [j, i] > 0 and, for any i, j Aσ [j, i] = 1.
The computation of a 1PFA can be traced by a probability vector v in which v[i] is the
probability of being in state qi . For a given input string w ∈ Σ∗ , w̃ = ¢w$ is read symbol
by symbol, vi = Aw̃i vi−1 , where 1 6 i 6 |w̃| and v0 is the initial state vector whose first
entry is equal to 1. The acceptance probability of P on string w is defined as
X
fP (w) = v|w̃| [i].
qi ∈Qa
4 One-way QFAs
A number of different definitions of one-way QFAs (1QFAs) have been proposed over the
years. They can all be described in a similar framework, by specifying a 5-tuple
(Σ, Q, {Tσ | σ ∈ Σ̂}, q1 , R),
with the following specifications:
• Q is a finite set of (classical) states. The (quantum)P state of a 1QFA can be any
superposition of basis states {|qi | q ∈ Q}: |ψi = q∈Q αq |qi. In mixed state
models, the 1QFA can also be in a mixture (pi , |ψi i) of such states.
• |ψ0 i = |q1 i is the initial state of the 1QFA.
8 A. Ambainis, A. Yakaryılmaz
2πj 2πj
Lemma 4.1. [9] After reading aj , the state of M is cos p |q1 i + sin p |q2 i.
Automata and Quantum Computing 9
quantum state during each transformation Ta may be difficult. Because of that, it may
be interesting to consider models in which measurements are restricted. One natural re-
striction is to allow only one measurement at the end of the computation, as in MCQFA.
The other possibility is to allow intermediate measurements after each Ta , as long as the
rest of computation does not depend on their outcomes. Such measurements are easier
to realize than general measurements (for example, this is the case in liquid state NMR
quantum computing [75]). This leads to LaQFA.
There is no compelling physical motivation behind KWQFAs and NaQFAs. These
models allow to stop the computation depending on the result of an intermediate measure-
ment. If we are able to do that, it is natural that we also allow the next transformations to
depend on the measurement outcome - which leads to the most general model of 1QFAs.
4.1 Simulations
In this section, we present some basic simulation results that relate the power of 1QFA
to the power of their classical counterparts. First, any probabilistic automaton can be
transformed into an equivalent QFA, if the model of QFA is sufficiently general.
Theorem 4.2. For a given n-state 1PFA P, there exists an n-state 1QFA M such that
fP (w) = fM (w) for any w ∈ Σ∗ .
This result easily follows from the fact that stochastic operators (transformation Aσ in
a 1PFA) are a special case of superoperators (used by 1QFAs). The proof of the theorem
can be found in [54, 113, 90] but it has been known as a folklore result in quantum
computing community long before that. The same result is also valid in many other
settings, for example, for probabilistic and quantum Turing machines [100].
The second simulation shows how to convert a 1QFA to a GFA with a quadratic in-
crease in the number of internal states.
Theorem 4.3. [71, 64, 113] For a given n-state 1QFA M, there exists a n2 -state GFA G
such that fM (w) = fG (w) for any w ∈ Σ∗ .
Proof. If we apply a superoperator, say E, to a quantum system in a state ρ, the new state
is ρ′ = E(ρ) = i=1 Ei ρEi† . From this expression, one can see that the entries of the
Pk
density matrix ρ′ are linear combinations of the entries of ρ.
We can linearize the computation of a given 1QFA (with a quadratic increase in the
size of the set of states [113]) in a following way. We transform the density matrix into
a real-valued vector, replacing each complex entry of the density matrix with two real-
valued elements of the vector. We choose the transition matrices Aσ of the 1GFA so
that they transform this vector in the same way as the superoperators Tσ of the 1QFA
transform the density matrix.
Due to the equivalence between 1GFAs and 1PFAs, this simulation result is very use-
ful. For example, it is used to show the equivalence of 1PFAs and 1QFAs in the unbounded
error case (Sec. 4.4) and various decidability and undecidability results (Sec. 4.5).
Automata and Quantum Computing 11
In the bounded-error case, 1QFAs can recognize only regular languages (similarly to
1PFAs). The pure state version of this result was first shown for KWQFA in [62], with
the bounds on the number of states shown in [7].
Theorem 4.4. [62, 7] If a language L is recognized by an n-state 1QFA with pure states
(e.g. MCQFAs and 1KWQFAs) with bounded error, then it can be recognized by a 1DFA
with 2O(n) states.
Proof. Let M be the minimal 1DFA that recognizes L and let N be the number of states
of M. Let q1 and q2 be two states of M. Then, there is a string w such that reading w in
one of states q1 , q2 leads to an accepting state and reading it in the other state leads to a
rejecting state.
Let M′ be a 1QFA that recognizes L. Let w1 , w2 be strings after reading which
M is in states q1 , q2 and |ψ1 i, |ψ2 i be the states of M′ after reading w1 , w2 . Let T
be the sequence of transformations that corresponds to reading w (including the final
measurement that produces the answer that says whether M′ accepts or rejects the input
string w). If M′ correctly recognizes L, then applying T to one of |ψ1 i, |ψ2 i leads to a
“yes” answer with probability at least 2/3 and applying T to the other state leads to a “no”
answer with probability at least 2/3. The next lemma provides a necessary condition for
that.
Then, for any T , the probabilities of T producing “yes” answer on |ψ1 i, |ψ2 i differ by
at most kψ1 − ψ2 k where
v
u n
uX
kψ1 − ψ2 k = t |αi − βi |2 .
i=1
Hence, if a 1-way pure state QFA M′ with n-dimensional state space recognizes L,
there must be N pure states |ψ1 i, . . . , |ψN i in n dimensions such that kψi − ψj k > 1/3
for all i, j : i 6= j. Such sets of states are known as quantum fingerprints and quite tight
bounds for the maximum number of quantum fingerprints in n dimensions are known
[31]. In particular, we know that N = 2O(n) .
We now sketch the proof of a similar result for the general case. Simulations of general
1QFAs by DFAs can be found in several papers (for example, [66]) but we also provide
an upper bound on the number of states.
Theorem 4.6. If a language is recognized by an n-state 1QFA with mixed states (e.g.
2
1QFA) with bounded error, then it can be recognized by a 1DFA with 2O(n ) states.
Proof. The proof is similar to the previous theorem but now we have to answer the ques-
tion: how many mixed states ρi can one construct so that, for any i 6= j, there is a
12 A. Ambainis, A. Yakaryılmaz
sequence of transformations T that produces different outcomes (“yes” in one case and
“no” in the other case) with probability at least 2/3?
2
The answer is that the number of such ρi in n dimensions is at most 2O(n ) . This
follows from the fact that a mixed state in n dimensions can be expressed as a mixture
(pl , |ψl i) of at most n pure states. We can then approximate each of |ψl i by a state |ψl′ i
from an ǫ-net for the unit sphere in n dimensions. (An ǫ-net is a set of states S such
that, for any |ψi, there exists |ψ ′ i ∈ S : kψ − ψ ′ k 6 ǫ.) Since one can construct an
2
ǫ-net with 2O(n) states, there will be (2O(n) )n = 2O(n ) choices for the set of states
(|ψ1 i, |ψ2 i, . . . , |ψn i). We also need to use another ǫ-net for (p1 , . . . , pn ) but the size of
2
this ǫ-net is 2O(n) = 2o(n ) .
Theorem 4.7. [7] (i) If p is a prime, any 1PFA recognizing MODp has at least p states.
(ii) For any ǫ > 0, there is a MCQFA with O(log(p)) states recognizing MODp with error
bound ǫ.
We now describe the construction of [7] (in a simplified form due to [9]). Let Mk , for
k ∈ {1, . . . , p−1}, be the two state MCQFA given in Lemma 4.1 for φ = 2πkp . Thus, Mk
accepts aj with probability cos2 ( 2πjk 2 2πjk 2
p ). If p divides j, then cos ( p ) = cos 0 = 1.
For j that are not divisible by p, about half of them are accepted with probability less
than 12 . (This happens if 2πjk p belongs to one of the intervals [2πm + π4 , 2πm + 3π 4 ] or
5π 7π j
[2πm + 4 , 2πm + 4 ].) That is, each of the MCQFAs Mk distinguishes a ∈ Lp from
many (but not all) aj ∈ / Lp . We now combine O(log n) of the Mk ’s into one MCQFA
M which distinguishes aj ∈ Lp from all aj ∈ / Lp .
Let k1 , . . . , kd be a sequence of d numbers, for an appropriately chosen d = O(log p).
The set of states of M consists of 2d states q1,1 , q1,2 , q2,1 , q2,2 , . . ., qd,1 , qd,2 . The
transformation for a is defined by
2ki π 2ki π
Ua (qi,1 ) = cos |qi,1 i + sin |qi,2 i,
p p
2ki π 2ki π
Ua (qi,2 ) = − sin |qi,1 i + cos |qi,2 i.
p p
That is, on states |qi,1 i, |qi,2 i, M acts in the same way as Mki .
The starting state is |q1,1 i. The transformation U¢ can be any unitary transformation
that satisfies U¢ |q1,1 i = |ψ0 i where |ψ0 i = √1d (|q1,1 i + |q2,1 i + · · · + |qd,1 i) and U$ can
be any unitary transformation that satisfies U$ |ψ0 i = |q1,1 i. The set of accepting states
Qa consists of one state q1,1 .
If p divides j, then, by Lemma 4.1, the transformation (Ua )j maps |qi,1 i to itself.
Since this happens for every i, the state |ψ0 i is also left unchanged by (Ua )j . Thus, U$
maps |ψ0 i to |q1,1 i, the only accepting state.
Automata and Quantum Computing 13
The proof of this theorem is nonconstructive: It was shown in [9] that a random choice
k1 , . . . , kd works with a high probability. An explicit construction of k1 , . . . , kd for a
slightly larger d = O(log2+3ǫ p) also given in [9]. Constructing an explicit set k1 , . . . , kd
such that d = O(log p) and M recognizes MODp is still an open problem, which is linked
to estimating exponential sums in number theory [29].
Currently, it is also open what is the biggest possible advantage of general 1QFAs over
1PFAs or 1DFAs. By Theorem 4.6, 1QFAs with n states can be simulated by 1DFAs with
2
2O(n ) states. On the other hand, [42, 44] gives a 1QFA with n states for a language in
an 2Ω(n log n) symbol alphabet that requires 2Ω(n log n) states on 1DFAs and 1PFAs. (The
paper [42] also claims a similar result for a language in a 4-symbol alphabet but the proof
of that appears to be either incomplete or incorrect.)
There has been a substantial amount of further work on the state complexity of 1QFAs.
We highlight some results:
√ periodic language with period n in a unary alphabet can be recognized
(1) [70] Any
by a (2 6n)-state MCQFA with bounded error.
qThere exists a language with period n in a one-symbol alphabet that requires
(2) [20]
Ω( logn n ) states to be recognized by MCQFAs.
(3) [22] If the l1 norm of the Fourier transform of the characteristic function of L (for
a periodic L in one-symbol alphabet) is small, a 1QFA with a smaller number of
states is possible.
There are also some negative results for restricted models. For example, there is a lan-
guage that is recognized by a 1DFA with n states but it requires 2Ω(n) states for NaQFAs
[10]. Due to Theorem 4.4, no such result is possible for the more general models.
increased by reading multiple symbols at a time. However, even in this case, they cannot
recognize all regular languages [14, 84].
Similar to MCQFAs, a complete characterization of the class of languages recognized
by LaQFAs (BLaQAL) was obtained by algebraic techniques [5]. Namely, BLaQAL
is equal to the class whose syntactic monoid is in BG, i.e. block groups. Therefore,
BMO ⊂ BLaQAL. On the other hand, BLaQAL is a proper subset of the class of lan-
guages recognized by KWQFAs with bounded error, i.e. BMM, since BMM contains
{a{a, b}∗} [5] which is not in BLaQAL.
The classes of languages recognizable by other models of 1QFAs have not been char-
acterized so well (and it is not clear whether they even have simple characterizations).
While 1KWQFAs recognize more languages than MCQFAs and LaQFAs, they cannot
recognize some regular languages [62], for example, {{a, b}∗a} ∈ / BMM.
Researchers [7, 30, 49] have also shown that if a minimal 1DFA has some certain
properties, called forbidden constructions, then its language cannot be recognized by
KWQFAs for any or for some error bounds. Using forbidden constructions, it was also
shown that BMM is not closed under intersection or union [8]. Moreover, KWQFAs can
recognize more languages if the error bound gets closer to 12 [6].
NaQFAs and BiQFA share many of the properties of 1KWQFAs in the bounded error
setting [69, 49]. In [49], it was shown that any language recognized by a BiQFA with
bounded error is in the language class ER which is a proper subset of REG.
The relative power of various models has also been studied for subclasses of regular
languages. For unary regular languages, LaQFAs (and all models that are more powerful
than LaQFAs) recognize all unary regular languages since all unary regular languages
are in BG language variety [48]. MCQFAs cannot recognize all unary regular languages
because they cannot recognize any finite language.
If we restrict ourselves to R1 languages, another proper subclass of regular languages,
the computational powers of KWQFA, NaQFA, and BiQFA become equivalent [49].
Nondeterministic version of quantum models are defined by fixing the error type to
positive one-sided unbounded error [3]. That is, all strings accepted with non-zero prob-
ability forms the language recognized by the nondeterministic quantum model. Remark
that the same definition also works for classical models.
1NQFAs are the nondeterministic version of 1QFAs. NQAL denotes the class of lan-
guages recognized by 1NQFAs [110]. The first result on the power of 1NQFAs was that
1NQFAs can recognize some nonregular languages such as NEQ = {w ∈ {a, b}∗ | |w|a 6=
|w|b } [17, 30]. A complete characterization of NQAL was given in [110]: NQAL = S6= .
Similarly to the unbounded-error case, the most restricted 1NQFA model recognizing
all languages in S6= is nondeterministic KWQFAs. Moreover, since any unary language in
S6= is regular (Page 89 of [88]), 1NQFAs and 1NFAs have the same computational power
on unary languages.
Setting error type to negative one-sided unbounded error (M must accept all x ∈ L
with probability 1 and reject every x ∈ / L with a non-zero probability), we obtain one-
way universal QFAs (1UQFAs). A language L is recognized by a 1UQFA if and only if
its complement is recognizable by a 1NQFA.
Recently, alternating quantum models were introduced as a generalization of nonde-
terministic quantum model [105] and it was shown that one-way alternating QFAs with
ε-moves2 can recognize any recursively enumerable language. Their one-way variants are
also powerful: they can recognize NP-complete problem SUMSETSUM and some nonregu-
2
lar and nonstochastic unary languages like {an | n > 0} with only two alternations and
PSPACE-complete problem SUBSETSUM-GAME with unlimited alternation [107, 36].
4.5.1 Equivalence and minimization. Two automata A1 and A2 are said to be equiva-
lent if fA1 (x) = fA2 (x) for all input strings x ∈ Σ∗ and they are said to be l-equivalent
if fA1 (x) = fA2 (x) for all input strings x ∈ Σ∗ of length at most l. It is known that
[80, 97] any two GFAs G1 and G1 with n1 and n2 states are equivalent if and only if they
are (n1 + n2 − 1)-equivalent.3 Due to Theorem 4.3, any n-state 1QFA can be converted
to an equivalent n2 -state GFA. Therefore, it follows that two 1QFAs M1 and M2 with
n1 and n2 states are equivalent, if and only if they are (n21 + n22 − 1)-equivalent (see also
[30, 64, 65].) Since there is a polynomial time algorithm for checking the equivalence of
two GFAs with rational amplitudes [97], this implies that the equivalence of two 1QFAs
with rational amplitudes can be checked in polynomial time.
The minimization of a given 1QFA with algebraic numbers is decidable: there is an
algorithm that takes a 1QFA as an input and then outputs a minimal size 1QFA that is
equivalent to A [68]. Moreover, the algorithm runs in exponential space if the transitions
2 Theautomaton can spend more than one step on each symbol.
3 Themethod presented in [97] was given for 1PFAs but it can be easily applied to any linearized one-way
computational model (see also bilinear machine given in [64]).
16 A. Ambainis, A. Yakaryılmaz
of 1QFAs are rational numbers [67, 82]. In [23], the problem of finding the minimum
MCQFA for a unary periodic language (given by a vector that describes which strings
belong to the language) was studied and it was shown that the minimum MCQFA can be
constructed in exponential time.
and UQFAs with computable-valued transitions on unary alphabets, but, (ii) it is undecid-
able for UQFAs on general alphabets and alternating 1QFAs on unary alphabets, where
both of them are defined with rational-valued transitions.
4.5.3 Other problems. In [80] (Theorem 6.17 on Page 190), the problem of deciding
whether the stochastic language recognized by a 1PFA P with cutpoint λ is regular
(or context-free) was shown to be undecidable for 1PFAs with rational-valued transi-
tions and a rational λ ∈ [0, 1). By the discussion above, the same problem is unde-
cidable for 1QFAs with rational-valued transitions and rational cutpoints and KWQFAs
with algebraic-valued transitions and rational cutpoints.
A k-QFA classifier [23] is a system of k QFAs (M1 , . . . , Mk ) on an alphabet Σ such
that each Mi accepts at least one string with probability bigger than 21 and there is no
string which is accepted by both Mi and Mj (for some i, j : i 6= j) with probability
bigger than 12 . A complete k-QFA classifier is a k-QFA classifier such that each string
is accepted by exactly one QFA with probability bigger than 12 . It was shown that [23]
for any k > 2, it is decidable whether (M1 , . . . , Mk ) is a k-QFA classifier. On the other
hand, it is undecidable whether (M1 , . . . , Mk ) is a complete k-QFA classifier.
In [25], two polynomial-time algorithms were given for KWQFAs on a unary alphabet
Σ = {a} with rational-valued transitions. A KWQFA M on a unary alphabet can be
viewed as a quantum Markov chains. Then, its non halting subspace decomposes into the
ergodic and the transient subspaces (see [7, 25] for the details). The first algorithm of [25]
computes the dimensions of these subspaces. The second algorithm decides whether fM
has a period of d > 0 such that ∀k ∈ N fM (ak ) = fM (ak+d ) .
5 Two-way QFAs
A two-way model has a read-only input tape on which the given input, say w, is written
between ¢ (the left end-marker) and $ (the right end-marker) symbols. The tape square
on which w̃i is written is indexed by i, where 1 6 i 6 |w̃|.
A two-way QFA can be defined either as a fully quantum machine or a classical ma-
chine augmented with a finite-size quantum register (memory). The former one is known
as two-way QFAs with quantum head (2QFAs), and the latter one is known as two-way
QFAs with classical head (2QCFAs).
• S is the set of states for the classical part and Q is the set of basis states for the
quantum part;
• δ is a transition function (consisting of δc and δq that governs the classical part and
the quantum part of the machine, described in more detail below);
• s1 ∈ S and q1 ∈ Q are the initial states for the classical and the quantum part,
respectively;
• sa ∈ S and sr ∈ S (sa 6= sr ) are the accepting and the rejecting states, respectively.
Each step of M has two stages: a quantum transition (δq ) and then a classical transi-
tion (δc ):
• The classical state s ∈ S \ {sa , sr } and the input symbol σ ∈ Σ̃ determine an
action δq (s, σ) that is performed on the quantum register. This action can be a
unitary transformation or a projective measurement.
• Then, the computation is continued classically. If δq (s, σ) was a unitary trans-
formation, then the classical transition δc (s, σ) is an element of S × {−1, 0, +1}
specifying a new classical state and a movement of the tape head (left, stay, or right,
respectively). If δq (s, σ) is a measurement, the classical transition δc (s, σ, τ ) is also
an element of S × {−1, 0, +1} but is defined by a triple (c, σ, τ ) which includes
the outcome τ of the measurement on the quantum part.
At the beginning of the computation, the head is on the left end-marker, the classical
state is s1 , and the quantum state is |q1 i. The computation is terminated and the input is
accepted (resp., rejected) when M enters the state sa (resp., sr ). It is obvious that any
2PFA can be simulated by a 2QCFA.
A particular case of a 2QCFA is a 1QFA with restart: it reads the input from the
left to the right in one-way mode, and if the computation does not halt (does not enter
an accepting or rejecting state), the computation is restarted after reading the right end-
marker [111]. Its probabilistic counterpart is 1PFA with restart.
5.1.1 Bounded-error language recognition. Unlike one-way models, 2QCFAs are more
powerful than their classical counterpart (2PFAs) [11]:
• the language EQ = {w ∈ a, b∗ | |w|a = |w|b } can be recognized by 2QCFAs in
polynomial expected time [11] but can be recognized by 2PFAs only in exponential
time [41, 39];
• the language PAL = {w ∈ {a, b}∗ | w = wr } can be recognized by 2QCFAs in
exponential expected time but cannot be recognized by 2PFAs (and more generally,
by Turing machines with working tape of size o(log n)) at all.
We now describe 2QCFAs for these languages. Both of them execute an infinite loop
with two parts. The first part is quantum and the second part is classical.
2QCFA for EQ: The 2QCFA M1 has two quantum states {q1 , q2 }.
• In the quantum part, M1 starts in state |q1 i in its quantum register and reads w
from left to right. Each time when M1 reads a, it applies a rotation by an angle
√
2π in the real |q1 i-|q2 i √
plane in a counterclockwise direction. When M1 reads
b, it applies a rotation by 2π in the clockwise direction. When M1 arrives at the
right end-marker, the quantum register is measured in computational basis and the
input is rejected if |q2 i is observed.
Automata and Quantum Computing 19
If w ∈ EQ, the rotations in both directions cancel out and the final quantum state
is exactly |q1 i. Therefore, w is never rejected. If w ∈/ EQ, then the final quantum
state is always away from |q1 i-axis and the resulting rejecting probability
√ can be
1
bounded from below by 2|w| 2 (a nice property of rotation angle 2π). See Figure
2 for some details of the quantum phase.
Figure 2. Some details of the quantum phase, partially taken from [90]
If w ∈ EQ, w is accepted with probability 1 in O(|w|4 ) expected time, through the clas-
sical part of the loop. If w ∈ / EQ, the probability of rejection in the quantum part of the
loop is larger than the probability of accepting in the classical part, i.e., w is rejected with
k
a probability at least 2k2+2 > 12 in O(|w|2 ) expected time.
2QCFA for PAL: The 2QCFA M2 has three quantum states {q1 , q2 , q3 }.
• It starts the quantum phase in state |q1 i and reads the input from left to right twice.
In the first read, it applies
4 3 0 4 0 3
1 1
Ua = −3 4 0 and Ub = 0 5 0
5 5
0 0 5 −3 0 4
for each a and b, respectively. In the second reading, it applies inverses of the
matrices, respectively. Then, the quantum register is fully measured with respect
|q1 i, |q2 i, |q3 i and the input is rejected if the result is not |q1 i. So, if w is palin-
drome, the state ends in |q1 i, i.e.
|q1 i = Uw−1
|w|
Uw−1
|w|−1
· · · Uw−1
1
Uw|w| · · · Uw2 Uw1 |q1 i,
and so w is not rejected. Otherwise, the computation does not return to the initial
quantum state exactly, which is away from |q1 i by at least a value exponential small
in the length of input, and the input is rejected with a probability at least 25−|w| (due
to the certain properties of Ua and Ub , see [11] for the details).
• Similar to M1 , in the classical phase the input is accepted with a sufficiently small
probability, i.e. 2−4k|w| for some k > 1.
20 A. Ambainis, A. Yakaryılmaz
5.1.2 Succinctness results. 2QFAs can also be more succinct than their one-way ver-
sions and their classical counterparts [111, 118]. The main result is that for any m > 0,
MODm (the complement of language MODm defined in (4.1)) can be recognized by a 1QFA
with restart (and so by a 2QCFA) with a constant number of states for any one-sided error
bound. On the other hand, the number of states required by bounded-error 2PFAs in-
creases when m gets bigger. This also implies a similar gap between 2QCFAs and 1QFA:
due to Theorem 4.6, a 1QFA with a constant number of states can be simulated by a
1DFA (and, hence, 2PFA) with a constant number of states (where the constant may be
exponentially larger).
where c ∈ {−1, 0, 1} corresponds to moving left, staying in place, or moving right and the
(q,w̃ )
transition amplitudes αq′ ,c j depend on the state q before the transition and the symbol
w̃j that the automaton reads. By combining those transitions for all q and j, we get
an operator UM (w) that describes the evolution of the whole state space of M . This
operator UM (w) must be unitary for any w ∈ Σ∗ . This implies a finite list of constraints
(q,w̃ )
on the amplitudes αq′ ,c j in the local transition rules (5.1), known as the well-formedness
conditions [103, 113].
To stop the computation, we perform a partial measurement on QFA’s quantum state
after each application of UM (w), with respect to the partition of basis states into the set
of accepting states Qa , the set of rejecting states Qr , and the set of non-halting states Qn .
If the result is Qa (resp., Qr ), the computation is terminated and the input is accepted
(resp., rejected). Otherwise, the computation is continued.
The model above is the first 2QFA model, called two-way KWQFA (2KWQFA) [62].
Although some interesting results obtained based on this model, it is still open whether
2KWQFAs can simulate 2PFAs. The Hilbert space can also be evolved by superoperators
[113], and then 2QFAs can simulate both 2QCFAs and 2PFAs exactly.
If the head of a 2QFA is not allowed to move to left, then we obtain a 1.5-way QFA
(1.5QFA). Here “1.5” emphases that the head is quantum and so it can be in more than
one position during the computation.
An example run of the machine is given in Figure 3, in which each arrow represents a
single step and it is clear that after the second step the head places on the different squares
of the tape until the end of the computation where they meet again and so they affect each
other.
To analyze how M works, we observe that, on the left end-marker, it enters the state
√1 |q1 i + √12 |q2 i. Every a symbol results in the q1 component moving to the right in 2
2
steps and the q2 component moving to the right in 1 step. Every b results in q1 moving to
the right in 1 step and q2 moving to the right in 2 steps. If |w|a = |w|b , the automaton
reaches the right end-marker at the same time in q1 and q2 . If |w|a 6= |w|b , one of
components reaches the end-marker earlier than the other.
In the first case, applying the transformation on the right end-marker gives the config-
uration
1 1 1 1
|qa , |w̃|i + |qr , |w̃|i + |qa , |w̃|i − |qr , |w̃|i = |qa , |w̃|i.
2 2 2 2
So, the input is accepted with probability 1. In the second case, we have |q1 i → √12 |qa i +
√1 |qr i and |q2 i → √1 |qa i − √1 |qr i applied on the right end-marker at different times
2 2 2
and, in each case, qa and qr are obtained (observed) with equal probability. Thus, the
input is accepted with probability 1/2.
The probability of accepting x ∈ / EQ can be decreased from 1/2 to 1/k, for arbitrary
k [62, 108], with the number of states in the automaton increasing to O(k 2 ) using the
construction of [62] and to O(logc k) using the construction of [108].
Currently we do not know any language separating 2QCFAs and 2QFA or any lan-
guage requiring exponential expected time by two-way QFAs. Also, even though 1.5KWQ-
FAs can recognize non-regular languages (such as EQ), it is not known whether they can
recognize all regular languages with bounded error. It is also open whether 2QFAs can
recognize a nonstochastic language with bounded error.
is nonstochastic [73] but is recognized by 1.5-way KWQFAs [109, 113] (by a gener-
alization of the technique used by 1.5-way KWQFAs for EQ in the previous section).
This shows a superiority over probabilistic automata because 2PFAs cannot recognize
any nonstochastic language [59]. In fact, 1.5-way KWQFAs can recognize most of the
nonstochastic languages defined in literature [38, 45]. We note that the best known up-
per bound (in terms of complexity classes) for unbounded-error 2QFAs (with algebraic-
valued transitions) is P ∩ L2 [100]. (Also see [117] for certain relations and upper bounds
were defined on the running time of 2KWQFAs under different recognition modes.)
An Arthur-Merlin (AM) proof system is an interactive proof system in which all of the
verifier’s probabilistic choices are visible to the prover. Thus, the prover has a complete
information about the computational state of the verifier. In the quantum version, the ver-
ifier has a quantum register and the outcome is sent to the prover whenever it is measured
(so that the prover still has a complete information about the state of the verifier).
If the verifier is a 2QCFAs and all the transitions are restricted with rational numbers,
we have the following results [106]:
• AMQ (2QCFA) contains ASPACE(n) ∪ PSPACE and some NEXP-complete lan-
guages,5 and,
• every recursively enumerable language is in weak-AMQ (2QCFA) where the pre-
fix “weak-” denotes the class of languages having a proof system where the non-
members do not need to be rejected with high probability.
The first result should be contrasted with the fact that weak-AM(2PFA) is a proper
subset of P [40] and the second result should be compared with the fact that every recur-
sively enumerable language is in weak-IP(2PFA) [34] (which is a similar result but uses
a stronger computational model: IP instead of AM).
If we allow real and computable real numbers as amplitudes, AMR (2QCFA) contains
all languages and AM... R (2QCFA) is equivalent to the class of recursive languages [91].
Moreover, it was shown that AMA (poly-time 2QCFA) contains a language that is not in
AMR (poly-time 2pfa) [120].
Before closing this item, we also refer [98, 78] for further results on weaker QFA
verifiers in different set-ups.
Debate systems. A debate system is a generalization of IP system where the verifier
interacts with a prover (who tries to convince the verifier that the input w ∈ L) and a
refuter (who tries to prove that the input w ∈ / L). If w ∈ L, there should be a strategy for
the prover such that, regardless of the refuter’s strategy, the verifier accepts with proba-
bility at least 2/3. If w ∈/ L, the refuter should have a strategy such that, for any prover’s
strategy, the verifier rejects with probability at least 2/3.
The debate version of AMQ (2QCFA) has been shown to contain all recursive lan-
guages [114]. In contrast, the debate version of AMQ (2PFA) is a subset of NP [33].
Postselection. Postselection is the ability to discard some outcomes at the end of
the computation and to make the decision based on the surviving outcomes (even though
these outcomes might be occurring with a very small probability). For example, if we
have a QFA with 3 basis states |q1 i, |q2 i, |q3 i, we could discard the |q3 i part of the final
state of the QFA and make the accept/reject decision based on the part of the final state
which consists of |q1 i and |q2 i.
Postselection is not possible physically but is interesting as a thought experiment. It
has been studied for both quantum circuits [1] and quantum automata [93, 112]. It has
been shown that 1QFAs (1PFA) with postselection have the same computational power as
1QFAs (1PFAs) with restart.
Closed Timelike curves. Similar to postselection, closed timelike curves (CTC) are
a model which is impossible physically but is interesting as a thought experiment. A
CTC is a device which allows to send information back in time, to previous steps of the
computation, as long as this does not result in inconsistencies in the computation.
5 The proof of AMQ (2QCFA) contains PSPACE will appear in an extended version of [106].
Automata and Quantum Computing 25
In [92, 89], 1QFAs and 1PFAs with capability of sending one classical bit from the
end of the computation to the beginning of the computation through a CTC have been
examined. Surprisingly, it was shown that such 1QFAs can simulate 1QFAs with post-
selection, and vice versa, when their transitions are restricted to rational numbers. The
same result was obtained also for 1PFAs even for arbitrary transition probabilities.
Promise problems. Promise problems are computational tasks where the goal is to
separate two languages L1 , L2 : L1 ∩ L2 = ∅ (the automaton must accept all w ∈ L1 ,
reject all w ∈ L2 and is allowed to output any answer for w ∈ / L1 ∪L2 ). Promise problems
allow to show separations between types of automata which are equivalent in the standard
setting of recognizing languages.
For example, for the case of exact computation (no error allowed), 1QFAs cannot be
more concise than 1PFAs [61]. On the other hand, for promise problems, the superiority
of 1QFAs over 1PFAs can be unbounded [12]: There exists an infinite family of promise
problems which can be solved exactly by tuning transition amplitudes of a two-state MC-
QFA, while the size of the corresponding classical automata grows to infinity [87, 47].
Recently, this result was generalized in [51] and [24] and further succinctness results
were given in [121, 46, 52, 118].
Several results about the computational power of QFAs on promise problems have
been obtained in [87, 46]. For example, there is a binary promise problem solvable by
a Las Vegas 1QFA and a unary promise problem solvable by a bounded-error 1QFA,
but none of them can be solved by any bounded-error 1PFA. (For language recognition,
these one-way models are of equal power and recognize exactly REG.) Moreover, there
is a promise problem solvable by an exact 2QCFA in exponential expected time, but not
by any bounded-error sublogarithmic space probabilistic Turing machine. No similar
example is known for language recognition. Additionally, in [119], a particular subset
of promise problems solvable by one-way classical and quantum models was considered,
and certain separation results were obtained.
Advice. In computation with advice, the automaton is provided extra information
called advice which depends on the length of the input w but not on the particular w.
Advice is a well known notion in the complexity theory but has not been studied
much in the setting of QFAs. The first model was introduced in [116] but was based on
KWQFAs6 . As a result, some regular languages were shown not to be recognized by this
model, with advice of up to linear size. Recently, this framework was generalized in [63],
which can be a good starting point for studying QFAs with advice.
Determining the bias of a coin. In [2], the state complexities of 1QFAs and 1PFAs
were compared for the problem of determining the bias of a coin, if it is known that the
coin lands “heads” with probability either p or p + ǫ for some known p and ǫ. A 1QFA
can distinguish between the two cases with a number that is independent of p
of states
and ǫ while any bounded-error 1PFA must have Ω p(1−p) ǫ states [2]. Recently, it was
also proven there is no 1QFA having the following property: simultaneously for
that [60]
every ǫ∈ − 12 , 21 \ {0}, given access to an infinite sequence of coin tosses, if the coin is
1
2 + ǫ -biased then the automaton spends at least 2/3 of its time guessing “biased”, and
if the coin is fair then the automaton spends at least 2/3 of its time guessing “fair”.
6 Also, note that the usage of advice defined in [116] is different than the usual definition for classical finite
automata [35].
26 A. Ambainis, A. Yakaryılmaz
7 Concluding remarks
Quantum finite automata (QFAs) combine the theory of finite automata with quantum
computing. Many different models and aspects of QFAs have been studied and this re-
search topic has recently celebrated its 20 years.
There are some contexts in which quantum models are of the same power as classical
models (for example, language recognition power of 1QFAs with bounded or unbounded
error) or have similar properties as classical models (for example, undecidability of the
emptiness problem for 1-way automata). On the other hand, there are many cases in which
quantum models are superior to classical models (for example, succinctness results for al-
most all models, nondeterministic language recognition power, and language recognition
power of 2QFAs with bounded or unbounded error). Besides these, there are still many
research questions that are still open.
Among restricted one-way QFAs, LaQFAs deserve a special attention. Moreover, it
would be interesting to find more examples where QFAs can be substantially smaller
than DFAs and PFAs. So far, most examples are periodic languages over unary alphabet
(e.g. [7, 70]) or their simple generalizations. This raises a question: for what non-unary
languages do QFAs achieve a quantum advantage in a non-trivial way? Investigating the
state complexity of “non-uniform” QFAs is another interesting direction (see [99] as an
example to measure the state complexity (of the restricted QFA models) by fixing the
input length).
Compared to one-way models, two-way QFA models have not been widely exam-
ined and there are many open problems related to them. Furthermore, promise problems,
interactive proof systems, and computation with advice are new hot topics having con-
nections with computational complexity. Further research on them will likely provide
new insights. Another promising direction is connections of QFAs with algebra and using
algebraic methods to study the power of QFAs.
Acknowledgements
We are grateful to A. C. Cem Say and John Watrous for their helpful comments on the
subject matter of this chapter. We would like to thank our anonymous referee for his/her
helpful comments and Narad Nampersad for his suggestions to improve the language of
the chapter. We also would like to thank Marats Golovkins, Paulo Mateus, Emmanuel Je-
Automata and Quantum Computing 27
andel, Carlo Mereghetti, Farid Ablayev, Daowen Qiu, Jozef Gruska, and James P. Crutch-
field for kindly answering our questions.
A. Yakaryılmaz would like to sincerely thank his PhD. supervisor A. C. Cem Say
for introducing him to the field of quantum computation and for their collaborative work
where he has learned a lot and gained a great deal of experience.
A. Ambainis was supported by ERC Advanced Grant MQC and FP7 FET Proac-
tive project QALGO. A. Yakaryılmaz was partially supported by TÜBİTAK with grant
108E142, CAPES with grant 88881.030338/2013-01, ERC Advanced Grant MQC, and
FP7 FET projects QALGO and QCS.
======================================================
References
[1] S. Aaronson. Quantum computing, postselection, and probabilistic polynomial-time. Pro-
ceedings of the Royal Society A, 461(2063):3473–3482, 2005. 24
[2] S. Aaronson and A. Drucker. Advice coins for classical and quantum computation. In ICALP
(1), volume 6755 of LNCS, pages 61–72, 2011. (arXiv:1101.5355). 25
[3] L. M. Adleman, J. DeMarrais, and M.-D. A. Huang. Quantum computability. SIAM Journal
on Computing, 26(5):1524–1540, 1997. 15
[4] M. Amano and K. Iwama. Undecidability on quantum finite automata. In STOC, pages
368–375. ACM, 1999. 23
[5] A. Ambainis, M. Beaudry, M. Golovkins, A. Ķikusts, M. Mercer, and D. Thérien. Algebraic
results on quantum automata. Theory of Computing Systems, 39(1):165–188, 2006. 9, 14
[6] A. Ambainis, R. Bonner, R. Freivalds, and A. Ķikusts. Probabilities to accept languages
by quantum finite automata. In COCOON, volume 1627 of LNCS, pages 174–183, 1999.
(arXiv:quant-ph/9904066). 14
[7] A. Ambainis and R. Freivalds. 1-way quantum finite automata: strengths, weaknesses and
generalizations. In FOCS, pages 332–341. IEEE, 1998. (arXiv:quant-ph/9802062). 11, 12,
14, 17, 26
[8] A. Ambainis, A. Ķikusts, and M. Valdats. On the class of languages recognizable by 1-way
quantum finite automata. In STACS, volume 2010 of LNCS, pages 75–86, 2001. 14
[9] A. Ambainis and N. Nahimovs. Improved constructions of quantum automata. Theoretical
Computer Science, 410(20):1916–1922, 2009. 8, 12, 13
[10] A. Ambainis, A. Nayak, A. Ta-Shma, and U. Vazirani. Dense quantum coding and quantum
finite automata. Journal of the ACM, 49(4):496–511, 2002. 13
[11] A. Ambainis and J. Watrous. Two–way finite automata with quantum and classical states.
Theoretical Computer Science, 287(1):299–311, 2002. 17, 18, 19
[12] A. Ambainis and A. Yakaryılmaz. Superiority of exact quantum automata for promise prob-
lems. Information Processing Letters, 112(7):289–291, 2012. 25
[13] D. Bacon and W. van Dam. Recent progress in quantum algorithms. Communications of the
ACM, 53(2):84–93, 2010. 2
28 A. Ambainis, A. Yakaryılmaz
[14] A. Belovs, A. Rosmanis, and J. Smotrovs. Multi-letter reversible and quantum finite au-
tomata. In Developments in Language Theory, volume 4588 of LNCS, pages 60–71, 2007.
13, 14
[15] E. Bernstein and U. Vazirani. Quantum complexity theory. SIAM Journal on Computing,
26(5):1411–1473, 1997. 6, 11
[16] A. Bertoni. The solution of problems relative to probabilistic automata in the frame of the
formal languages theory. In GI-4.Jahrestagung, volume 26 of LNCS, pages 107–112, 1975.
16
[17] A. Bertoni and M. Carpentieri. Analogies and differences between quantum and stochastic
automata. Theoretical Computer Science, 262(1-2):69–81, 2001. 14, 15
[18] A. Bertoni and M. Carpentieri. Regular languages accepted by quantum automata. Informa-
tion and Computation, 165(2):174–182, 2001. 13
[19] A. Bertoni, G. Mauri, and M. Torelli. Some recursive unsolvable problems relating to isolated
cutpoints in probabilistic automata. In ICALP, volume 52 of LNCS, pages 87–94, 1977. 16
[20] A. Bertoni, C. Mereghetti, and B. Palano. Lower bounds on the size of quantum automata
accepting unary languages. In ICTCS, volume 2841, pages 86–96, 2003. 13
[21] A. Bertoni, C. Mereghetti, and B. Palano. Quantum computing: 1-way quantum automata.
In DLT, volume 2710 of LNCS, pages 1–20, 2003. 9
[22] A. Bertoni, C. Mereghetti, and B. Palano. Small size quantum automata recognizing some
regular languages. Theoretical Computer Science, 340(2):394–407, 2005. 13
[23] A. Bertoni, C. Mereghetti, and B. Palano. Some formal tools for analyzing quantum au-
tomata. Theoretical Computer Science, 356(1):14–25, 2006. 16, 17
[24] M. P. Bianchi, C. Mereghetti, and B. Palano. Complexity of promise problems on classi-
cal and quantum automata. In Gruska Festschrift, volume 8808 of LNCS, pages 161–175.
Springer International Publishing, 2014. 25
[25] M. P. Bianchi and B. Palano. Behaviours of unary quantum automata. Fundamenta Infor-
maticae, 104(1–2):1–15, 2010. 17
[26] V. D. Blondel and V. Canterini. Undecidable problems for probabilistic automata of fixed
dimension. Theory of Computing Systems, 36(3):231–245, 2003. 16
[27] V. D. Blondel, E. Jeandel, P. Koiran, and N. Portier. Decidable and undecidable problems
about quantum automata. SIAM Journal on Computing, 34(6):1464–1473, 2005. 16
[28] A. Blum, M. Furst, M. Kearns, and R. J. Lipton. Cryptographic primitives based on hard
learning problems. In CRYPTO, volume 773 of LNCS, pages 278–291, 1993. 26
[29] J. Bourgain. Estimates on exponential sums related to Diffie-Hellman distributions. Geomet-
ric and Functional Analysis, 15:1–34, 2005. 13
[30] A. Brodsky and N. Pippenger. Characterizations of 1-way quantum finite automata. SIAM
Journal on Computing, 31(5):1456–1478, 2002. 13, 14, 15
[31] H. Buhrman, R. Cleve, J. Watrous, and R. de Wolf. Quantum fingerprinting. Physical Review
Letters, 87(16):167902, 2001. 11
[32] M. P. Ciamarra. Quantum reversibility and a new model of quantum automaton. In FCT,
volume 2138 of LNCS, pages 376–379, 2001. 9
[33] A. Condon. Computational Models of Games. MIT Press, 1989. 24
[34] A. Condon and R. J. Lipton. On the complexity of space bounded interactive proofs (ex-
tended abstract). In FOCS, pages 462–467, 1989. 16, 24
Automata and Quantum Computing 29
[35] C. Damm and M. Holzer. Automata that take advice. In MFCS, pages 149–158, 1995. 25
[36] H. G. Demirci, M. Hirvensalo, K. Reinhardt, A. C. C. Say, and A. Yakaryılmaz. Classical and
quantum realtime alternating automata. In NCMA, volume 282 of [email protected]. Austrian
Computer Society, 2014. 15, 16
[37] H. Derksen, E. Jeandel, and P. Koiran. Quantum automata and algebraic groups. Journal of
Symbolic Computation, 39(3–4):357–371, 2005. 16
[38] P. D. Diêu. Criteria of representability of languages in probabilistic automata. Cybernetics
and Systems Analysis, 13(3):352–364, 1977. 23
[39] C. Dwork and L. Stockmeyer. A time complexity gap for two-way probabilistic finite-state
automata. SIAM Journal on Computing, 19(6):1011–1123, 1990. 7, 18
[40] C. Dwork and L. Stockmeyer. Finite state verifiers I: The power of interaction. Journal of
the ACM, 39(4):800–828, 1992. 20, 24
[41] R. Freivalds. Probabilistic two-way machines. In MFCS, volume 118 of LNCS, pages 33–45,
1981. 7, 18
[42] R. Freivalds. Super-exponential size advantage of quantum finite automata with mixed states.
In ISAAC, volume 5369 of LNCS, pages 931–942, 2008. 13
[43] R. Freivalds and M. Karpinski. Lower space bounds for randomized computation. In ICALP,
volume 820 of LNCS, pages 580–592, 1994. 6
[44] R. Freivalds, M. Ozols, and L. Mančinska. Improved constructions of mixed state quantum
automata. Theoretical Computer Science, 410(20):1923–1931, 2009. 13
[45] R. Freivalds, A. Yakaryılmaz, and A. C. C. Say. A new family of nonstochastic languages.
Information Processing Letters, 110(10):410–413, 2010. 23
[46] A. Gainutdinova and A. Yakaryılmaz. Unary probabilistic and quantum automata on promise
problems. Quantum Information Processing, 17(2):28, 2018. 25
[47] V. Geffert and A. Yakaryılmaz. Classical automata on promise problems. Discrete Mathe-
matics & Theoretical Computer Science, 17(2):157–180, 2015. 25
[48] M. Golovkins, private communication, September 2012. 14
[49] M. Golovkins, M. Kravtsev, and V. Kravcevs. Quantum finite automata and probabilistic
reversible automata: R-trivial idempotent languages. In MFCS, volume 6907 of LNCS, pages
351–363, 2011. 9, 14
[50] L. Grover. A fast quantum mechanical algorithm for database search. In STOC, pages 212–
219. ACM, 1996. 2
[51] J. Gruska, D. Qiu, and S. Zheng. Potential of quantum finite automata with exact acceptance.
Int. J. Found. Comput. Sci., 26(3):381–398, 2015. 25
[52] J. Gruska, D. Qiu, and S. Zheng. Generalizations of the distributed Deutsch-Jozsa promise
problem. Mathematical Structures in Computer Science, 27(3):311–331, 2017. 25
[53] M. Hirvensalo. Improved undecidability results on the emptiness problem of probabilistic
and quantum cut-point languages. In SOFSEM, volume 4362 of LNCS, pages 309–319,
2007. 16
[54] M. Hirvensalo. Quantum automata with open time evolution. International Journal of Nat-
ural Computing, 1(1):70–85, 2010. 9, 10
[55] E. Jeandel. Indécidabilité sur les automates quantiques. Master’s thesis, ENS Lyon, 2002.
Available at ftp://ftp.ens-lyon.fr/pub/LIP/Rapports/DEA/DEA2002/DEA2002-02.ps.gz. 16
30 A. Ambainis, A. Yakaryılmaz
[98] M. Villagra and T. Yamakami. Quantum and reversible verification of proofs using constant
memory space. In Theory and Practice of Natural Computing, volume 8890 of LNCS, pages
144–156. Springer, 2014. 24
[99] M. Villagra and T. Yamakami. Quantum state complexity of formal languages. In DCFS,
volume 9118 of LNCS, pages 280–291. Springer, 2015. 26
[100] J. Watrous. On the complexity of simulating space-bounded quantum computations. Com-
putational Complexity, 12(1-2):48–84, 2003. 6, 10, 23
[101] J. Watrous. Encyclopedia of Complexity and System Science, chapter Quantum computa-
tional complexity. Springer, 2009. Also available at arXiv:0804.3401. 3
[102] J. Watrous, private communication, May 2009. 3
[103] A. Yakaryılmaz. Classical and Quantum Computation with Small Space Bounds. PhD thesis,
Boğaziçi University, 2011. (arXiv:1102.0378). 21
[104] A. Yakaryılmaz. Superiority of one-way and realtime quantum machines. Theoretical Infor-
matics and Applications, 46(4):615–641, 2012. 23
[105] A. Yakaryılmaz. One-counter verifiers for decidable languages. In CSR, volume 7913 of
LNCS, pages 366–377. Springer, 2013. 15
[106] A. Yakaryılmaz. Public qubits versus private coins. In The Proceedings of Workshop
on Quantum and Classical Complexity, pages 45–60. University of Latvia Press, 2013.
ECCC:TR12-130. 24
[107] A. Yakaryılmaz. Quantum alternation. Lobachevskii Journal of Mathematics, 37(6):637–
649, 2016. 15
[108] A. Yakaryılmaz and A. C. C. Say. Efficient probability amplification in two-way quantum
finite automata. Theoretical Computer Science, 410(20):1932–1941, 2009. 22
[109] A. Yakaryılmaz and A. C. C. Say. Languages recognized with unbounded error by quantum
finite automata. In CSR, volume 5675 of LNCS, pages 356–367, 2009. 14, 16, 23
[110] A. Yakaryılmaz and A. C. C. Say. Languages recognized by nondeterministic quantum finite
automata. Quantum Information and Computation, 10(9&10):747–770, 2010. 15
[111] A. Yakaryılmaz and A. C. C. Say. Succinctness of two-way probabilistic and quantum finite
automata. Discrete Mathematics and Theoretical Computer Science, 12(4):19–40, 2010. 18,
20
[112] A. Yakaryılmaz and A. C. C. Say. Probabilistic and quantum finite automata with postselec-
tion. Technical Report arXiv:1102.0666, 2011. (A preliminary version of this paper appeared
in the Proceedings of Randomized and Quantum Computation (satellite workshop of MFCS
and CSL 2010), pages 14-24, 2010.). 24
[113] A. Yakaryılmaz and A. C. C. Say. Unbounded-error quantum computation with small space
bounds. Information and Computation, 279(6):873–892, 2011. 9, 10, 14, 16, 20, 21, 23
[114] A. Yakaryılmaz, A. C. C. Say, and H. G. Demirci. Debates with small transparent quantum
verifiers. International Journal of Foundations of Computer Science, 27(2):283, 2016. 24
[115] T. Yamakami. Constant-space quantum interactive proofs against multiple provers. Informa-
tion Processing Letters, 114(11):611–619, 2014. 23
[116] T. Yamakami. One-way reversible and quantum finite automata with advice. Information
and Computation, 239:122–148, 2014. 25
[117] T. Yamakami. Complexity bounds of constant-space quantum computation - (extended ab-
stract). In DLT, volume 9168 of LNCS, pages 426–438. Springer, 2015. 23
Automata and Quantum Computing 33
[118] S. Zheng, J. Gruska, and D. Qiu. On the state complexity of semi-quantum finite automata.
In LATA, volume 8370 of LNCS, pages 601–612, 2014. 20, 25
[119] S. Zheng, L. Li, D. Qiu, and J. Gruska. Promise problems solved by quantum and classical
finite automata. Theor. Comput. Sci., 666:48–64, 2017. 25
[120] S. Zheng, D. Qiu, and J. Gruska. Power of the interactive proof systems with verifiers mod-
eled by semi-quantum two-way finite automata. Information and Computation, 241:197–
214, 2015. 24
[121] S. Zheng, D. Qiu, J. Gruska, L. Li, and P. Mateus. State succinctness of two-way finite
automata with quantum and classical states. Theoretical Computer Science, 499:98–112,
2013. 25
[122] S. Zheng, D. Qiu, L. Li, and J. Gruska. One-way finite automata with quantum and classical
states. In H. Bordihn, M. Kutrib, and B. Truthe, editors, Languages Alive: Essays dedicated
to Jürgen Dassow on the Occasion of His 65th Birthday, volume 7300 of LNCS Festschrift
Series, pages 273–290. Springer, 2012. 9