Papers
Topics
Authors
Recent
Search
2000 character limit reached

Quantum Finite Automata (QFAs) Overview

Updated 21 January 2026
  • Quantum Finite Automata (QFAs) are theoretical models that use quantum operations, such as unitary matrices and super-operators, along with projective measurements, to recognize languages.
  • They achieve exponential state succinctness, with 2-state MCQFAs able to recognize uncountably many unary languages through variable cutpoint thresholds.
  • QFAs extend classical models by bridging probabilistic and deterministic automata, opening new research areas in state complexity, nonregular language recognition, and quantum-classical computational separations.

A quantum finite automaton (QFA) is a theoretical model for computing in finite space using quantum operations. QFAs generalize classical finite automata (deterministic and probabilistic) by allowing state evolution through unitary matrices (or more generally, super-operators), with language acceptance determined by the outcome of a projective measurement. QFAs are strictly more expressive on unary alphabets than classical probabilistic automata, can achieve exponential succinctness in state complexity for certain promise problems, and permit uncountably many language classes with only two quantum states, demonstrating intrinsic quantum advantages in automata theory (Shur et al., 2014, Bhatia et al., 2019, Gainutdinova et al., 2015, Ambainis et al., 2015).

1. Formal Models: Quantum, Probabilistic, and Generalized Finite Automata

QFAs are best understood within a hierarchy of automata models:

  • Generalized Finite Automaton (GFA): A 5-tuple (Q,Σ,{Aσ}σΣ,v0,f)(Q, \Sigma, \{A_\sigma\}_{\sigma\in\Sigma}, v_0, f) operating over real matrices, computing acceptance via fvnf \cdot v_n after sequentially applying AwiA_{w_i} for input w=w1...wnw = w_1...w_n.
  • Probabilistic Finite Automaton (PFA): Restricts each AσA_\sigma to a column-stochastic k×kk{\times}k matrix, with stochastic initial distribution v0v_0 and final (0-1) accepting vector ff. PFA acceptance probability remains within [0,1][0,1].
  • Moore–Crutchfield QFA (MCQFA): A tuple (Q,Σ,{Uσ},v0,P)(Q, \Sigma, \{U_\sigma\}, |v_0\rangle, P) with UσU_\sigma unitary, v0|v_0\rangle a pure quantum state, and projective measurement PP at computation end. The acceptance probability for input ww is fM(w)=Pavw2f_M(w) = \|P_a |v_{|w|}\rangle\|^2.
  • General QFA (super-operator QFA): Allows each symbol to implement a general super-operator (CPTP map) acting on a density matrix ρ\rho, admitting mixed states and arbitrary measurements, strictly generalizing classical and unitary quantum automata (Shur et al., 2014, Bhatia et al., 2019, Say et al., 2014).

Equivalence results show that, with cutpoint acceptance, the language classes defined by GFAs, PFAs, and general QFAs coincide both in the unary case and in general: for any unary input alphabet Σ={a}\Sigma = \{a\},

PseudoS=S=QAL,UnaryPseudoS=UnaryS=UnaryQAL\text{PseudoS} = S = \text{QAL},\quad \text{UnaryPseudoS} = \text{UnaryS} = \text{UnaryQAL}

where PseudoS denotes pseudo-stochastic (general GFA), S denotes stochastic (PFA), and QAL denotes the class of quantum automaton languages (Shur et al., 2014).

2. State Complexity and Language Classes on Unary Alphabets

A central result is that 2-state MCQFAs over a unary alphabet can recognize uncountably many languages, parameterized by cutpoint. The explicit construction is as follows:

Let θ/πQ\theta/\pi \notin \mathbb{Q} be irrational, and define:

  • Q={q1,q2}Q = \{q_1, q_2\}
  • v0=q1|v_0\rangle = |q_1\rangle
  • Ua=Rθ=(cosθsinθ sinθcosθ)U_a = R_\theta = \begin{pmatrix} \cos\theta & -\sin\theta \ \sin\theta & \cos\theta \end{pmatrix}
  • Measurement: Pa=q1q1P_a = |q_1\rangle \langle q_1|

After reading aka^k, the acceptance probability is fM(ak)=cos2(kθ)f_M(a^k) = \cos^2(k\theta). Since {cos2(kθ)}kN\{\cos^2(k\theta)\}_{k\in\mathbb{N}} is dense in [0,1][0,1], varying cutpoint λ[0,1)\lambda \in [0,1) yields uncountably many distinct languages Lλ={akcos2(kθ)>λ}L_\lambda = \{a^k \mid \cos^2(k\theta) > \lambda\} (Shur et al., 2014, Say et al., 2014).

Classically, 2-state PFAs in the unary case recognize only regular languages. To obtain uncountably many language classes, at least 3 states are required in the PFA model (Shur et al., 2014). In the GFA model (over reals), the same 2-state construction suffices and is optimal.

Summary table:

Model States required for uncountable unary languages Language class
MCQFA, GFA 2 Uncountable, nonregular
PFA 3 Uncountable, nonregular
DFA, NFA \infty (cannot realize) Regular only

The 1-state M(Q)CFA or PFA can recognize only \emptyset or aa^* by cutpoint semantics; hence, 2 is optimal for nontriviality (Shur et al., 2014).

3. Inclusive/Exclusive Cutpoints and Classification

For any QFA (or PFA, GFA), the notion of language recognition via cutpoints generalizes: for MM and λ\lambda, define

  • Inclusive: L(M,=λ)={wfM(w)=λ}L(M,= \lambda) = \{w \mid f_M(w) = \lambda \}
  • Exclusive: L(M,λ)={wfM(w)λ}L(M, \neq \lambda) = \{w \mid f_M(w) \neq \lambda \}

For MCQFAs, every language in the exclusive cutpoint class ($MCL^\neq$) can be recognized with exclusive cutpoint $0$, and these automata cannot recognize any nonempty finite language since their acceptance functions are "dense" (no finite language can be separated by cutpoint 0). Thus, $MCL^\neq$ is strictly contained in the general $QAL^\neq$ class (Shur et al., 2014).

Together, for any of the models GFA, PFA, QFA,

$\text{PseudoS}^= = \text{PseudoS}^\neq = S^= = S^\neq = QAL^= = QAL^\neq$

and these classes strictly contain the regular languages; i.e., there exist uncountably many non-regular languages even in inclusive/exclusive cutpoint semantics.

4. Succinctness, Expressiveness, and Open Problems

Quantum finite automata, even in their most elementary form, exhibit strict state succinctness compared to classical models for particular language families. For example, the language Lp={akpkN}L_p = \{a^{kp}\mid k\in \mathbb{N}\} can be recognized by a 2-state MCQFA with acceptance probability f(an)=cos2(nπ/p)f(a^n) = \cos^2(n\pi/p), giving exact acceptance on multiples of pp, but requires at least pp states for a bounded-error PFA or DFA (Ambainis et al., 2015, Plachta et al., 2022, Salehi et al., 2021).

Bounded-error QFAs (constant cutpoint margin) separate the power of quantum and classical models even on unary promise problems:

  • Promise problems exist such that a 2-state MCQFA solves them with bounded error, while no bounded-error unary PFA can solve them.
  • Las Vegas QFAs (never err, "don't know" output allowed) and bounded-error PFAs are equivalent in power to DFAs over unary alphabets (Gainutdinova et al., 2015).

Open problems include: explicit tight state complexity bounds for QFAs for specific language/promises, extending the separation to non-unary alphabets, and finding natural languages (not promise problems) with exponential classical–quantum separation (Gainutdinova et al., 2015).

5. Generalizations, Alternation, and Nonregularity

Recent research extends QFAs beyond the basic one-way and measure-once models:

  • Measure-many QFAs (MM-1QFA) can recognize strictly more regular languages than MO-1QFA, and alternating QFA (AQFA) models can recognize some nonregular unary languages such as {am2}\{ a^{m^2}\} with bounded alternation (Bhatia et al., 2019, Demirci et al., 2014).
  • Emptiness of alternating QFAs (even on unary input and two alternations) is undecidable; for nondeterministic QFAs with rational or algebraic amplitudes it is decidable, contrasting with classical automata (Demirci et al., 2014).
  • The class of languages recognized by kk-alternation AQFAs on unary alphabets remains incompletely characterized, and it is open how many alternations are necessary to recognize classes including all unary context-free or recursive languages (Demirci et al., 2014).

6. Mathematical and Structural Insights

The key to the expressive power of 2-state unary MCQFAs is the density and aperiodicity of the sequence {cos2(kθ)kN}\{\cos^2(k\theta) \mid k\in \mathbb{N}\} when θ/π\theta/\pi is irrational; this sequence is non-periodic and fills [0,1][0,1] densely, supporting uncountably many languages via cutpoint separation (Shur et al., 2014, Say et al., 2014).

For 1-state pseudo-stochastic automata (GFAs), the recognized language class over general alphabets is exactly those defined by linear inequalities on Parikh vectors together with parity or indicator conditions; for unary input, this reduces to regular threshold languages.

The equivalence of pseudo-stochastic, stochastic, and quantum automata (with cutpoint semantics) fundamentally relies on the ability to encode probabilistic transitions and measurement outcomes as quantum operations (unitary or more generally CPTP maps), and vice versa (Shur et al., 2014).


References

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Quantum Finite Automata (QFAs).