Professional Documents
Culture Documents
Abstract. This article delves into the realm of quantum computing, exploring
the fundamental concepts of Turing Machines, Quantum Turing Machines, and
their complexity classes. The primary focus is on the advancements and impli-
cations of quantum computing. Then the article begins with an overview of clas-
sical computation models, including the Turing Machine, recognizable and de-
cidable problems, the Church-Turing thesis, and complexities classes in terms of
time and space. This establishes a foundational understanding of classical com-
putation. The Quantum Turing Machine is then introduced, with discussions on
its formalization, computation concept, transition functions, states, tape, mea-
surement, halting, and its equivalence to classical Turing Machines. Moreover,
the article explores quantum complexity classes, such as QMA, and QIP which
showcase the power and limitations of quantum computation. Throughout the
article, the focus remains on quantum computing, aiming to provide readers with
a comprehensive understanding of this rapidly evolving field. By examining the
foundations, complexities, and advancements of quantum computing, the article
offers valuable insights into the potential applications and implications of this
groundbreaking technology.
Contents
3 Church–Turing–Deutsch principle 12
3.1 Physical Implications of the Turing Machine . . . . . . . . . . . . . . . . 13
3.2 Quick brief about Quantum Physics . . . . . . . . . . . . . . . . . . . . 14
6 Bibliographic 32
1. Introduction and historical context
The development of quantum mechanics, the theory that describes the properties of na-
ture on the scale of atoms and subatomic particles, was one of the greatest intellectual
revolutions of the 20th century, if not for the entire history of mankind. The strange
and counterintuitive predictions of this theoretical achievement induced new interpreta-
tions of reality, philosophical questions, and technological innovations. In particular, the
surprising properties of superposition, interference, and entanglement have brought new
horizons to the fields of computer science and information theory. This led to the emer-
gence of quantum information and quantum computing.
Model building is the art of selecting those aspects of a process that are
relevant to the question being asked. As with any art, this selection is
guided by taste, elegance, and metaphor; it is a matter of induction, rather
than deduction. High science depends on this art. – J.H Holland
The most accepted model to define classical computation is the Turing Machine, the
model that Turing created in order to prove the impossibility of the Entscheidungsprob-
lem, and brought the notion of ”computability” to the world. Shortly before Turing,
Alonzo Church, Turing’s Doctoral advisor, independently proved the same result using
his λ-calculus model, a model of computation based on the concept of applying functions
to arguments. The two models are proven to be equivalent and have the same compu-
tational power. Turing’s model became more famous and widespread, however. The
reason? Turing’s model is more representative of a mechanical process, as the name of
the model says, a ”machine”, which was the way computers were seen back in the 1930s.
Alonzo’s model is more similar to modern programming languages and has great theoret-
ical importance in that area.
Something similar happened with quantum computing models. Unlike classical
computing (the abacus can be considered one of the first devices used to perform com-
putation, for example), the mathematical formalization of quantum computing occurred
well before the realization of a device that performs quantum computing. So, historically,
quantum computing became known in terms of inputting qubits, transforming them with
the application of unitary operators (the quantum gates), and making measurements of
the output. Thus, the quantum circuit model turned out to be the most appropriate in this
realm, especially in the field of quantum algorithms.
However, in the field of computational complexity theory, things are different.
Classically, the complexity classes that classify the ’difficulty’ of a problem are defined
in terms of Turing machines. Class P , for example, is the class of problems that can
be solved with a polynomial number of operations on a deterministic Turing machine,
and class N P is the class of problems that can be solved in polynomial time by a non-
deterministic Turing machine. Determining whether P = N P is still one of the biggest
open questions in computational theory.
For this reason, computational complexity theorists began to pay more attention
to the Quantum Turing Machine (QTM) model. By the Church-Turing thesis, any com-
putable problem can be represented by a Classical Turing machine (CTM), so a quantum
algorithm can be represented by a CTM. However, this simulation occurs with an expo-
nential factor of operations in relation to what the quantum algorithm actually performs,
producing a dissonance in the classification of the difficulty of problems that can be sim-
plified using the quantum computational advantage. It was with this in mind that Bernstein
and Vazirani (1993, 1997) proposed a formalization of QTM, the model first proposed by
Deutsch (1985). It is about the B&V model that we will deal with in this text.
Theorem 2.1 (Undecidability of the Halting Problem). The halting problem, as formu-
lated above, is undecidable; that is, there is no Universal Turing Machine that can decide
whether an arbitrary Turing Machine halts or loops forever on an arbitrary input
Proof. (informal) Let’s abuse the notation and consider a Turing machine M to be, de-
pending on the context, the proper Turing machine or its encoding as a string to be input
to a Universal Turing machine. Let M ⟨i⟩ be the notation for the machine M computing i
as input on its tape.
Suppose that there exists a machine H that solves the halting problem. That is, if
M is an arbitrary Turing Machine and i is an arbitrary string, let:
(
outputs 0 and then halts if M ⟨i⟩ loops forever;
H⟨M, i⟩ =
outputs 1 and then halts if M ⟨i⟩ halts.
Now, let N be the machine that performs the action that is the negation of your
input. That is:
outputs 0 and then loops forever if x = 1;
N ⟨x⟩ = outputs 1 and then halts if x = 0;
undefined for other values of x
2.3.1. Turing-Recognizable
2.3.2. Turing-Decidable
And a Turing Decidable language is those that have a TM which always correctly says if
a string belongs to the language or not. The TM from this kind of language never joins in
a halt state and could correctly define an answer.
According to the definition above, we now could delimitate decision problems as
languages, instances of these problems as strings, and the Turing Machines a sequence of
procedures that tries to check the acceptance of the string to the language and then classify
the problems as decidable or recognizable. Turing has proved the 3º Hilbert problem by
showing the existence of non-decidable problems. As a secondary consequence opening
an entirely new branch of math: the Computation Theory.
2.6.1. Time
The most important subdivisions of complex classes are time and space. Firstly, consider
the time complexity, even if a problem is decidable and has a TM that has proven to solve
the problem, how much time would be required for the TM to stop at the rejection or
acceptance state? How many transitions (computations) would be required?
Let M be a deterministic TM that solves a decidable problem, which means that
M never stops at the correct response for every entry. Then we could define f : N 7→
N where f (n) is the maximal step number required to M stops at a final state when it
receives an input string with size n. We usually say that function that defines the time
complexity of M is f (n) or just M is f (n) time complexity.
Asymptotic analysis is a methodology used to measure the complexity of a
problem implemented on a computational model, as defined earlier. It involves the use
of asymptotic notation, which represents function classes that serve as upper bounds,
limiting the growth of functions. The most commonly used notation is the Big O notation
(O), which describes the worst-case behavior of a function in relation to its input size.
By employing this notation, we can analyze and characterize the efficiency of algorithms
based on their asymptotic behavior.
2. Class NP
In order to describe the problems in the complexity class NP (Nondeterministic
Polynomial), we need to introduce the concept of a verifier. Consider a computa-
tional problem where we want to determine whether there is a subset, denoted as
S ′ , of a given set S ⊂ Z such that the elements in S ′ sum up to zero. From this
problem, we can formulate a related problem: verify whether a particular solution
satisfies the original problem. This involves checking if a given subset S ′ indeed
adds up to zero.
Firstly, a problem or language L must belong to the class NP, which represents
the set of problems that can be efficiently verified by a non-deterministic Turing
machine. This means that given a solution, we can verify its correctness in
polynomial time.
One notable problem belonging to the EXPTIME class is the task of determin-
ing if a Deterministic Turing Machine halts within a maximum of k steps. This
problem captures the fundamental challenge of predicting the termination behav-
ior of a specific computational process.
5. Class Non-Exponential Time (NEXPTIME)
The class NEXPTIME, also known as NEXP, plays a significant role.
This class encompasses problems whose languages can be decided by a Non-
Deterministic Turing Machine within an exponential number of steps. In terms of
time complexity, problems in NEXPTIME have solutions that can be expressed
k
as O(2n ), where n represents the input size and k is a constant.
2.6.2. Space
[
PSPACE = SPACE(nk )
k
2. Class NPSPACE
The class NPSPACE delves into the realm of languages that can be decided
within a polynomial amount of space by a Non-Deterministic Turing Machine.
Similar to the previous definition, we can provide a formal definition using the
following notation:
[
NPSPACE = NSPACE(nk )
k
In this equation, NSPACE(f (n)) represents the set of languages that can be de-
cided by a Non-Deterministic Turing Machine. Combining these sets for various
polynomial functions of space, we arrive at the comprehensive class NPSPACE.
3. Class L
While the concept of sublinearity loses significance in the realm of time com-
plexity, it gains relevance in the domain of space complexity. By exploring the
intricacies of L, we uncover a distinct class of problems that defy conventional
linear space requirements. Understanding the nature of sublinear Turing Ma-
chines allows us to better grasp the complexities and possibilities inherent in
computational tasks with limited memory resources.
4. Class NL
5. Class EXPPSPACE
k
[
NEXPSPACE = NPSPACE(2n )
k
3. Church–Turing–Deutsch principle
In 1985, David Deutsch, a renowned researcher and pioneer in the field of quantum
computation, proposed a revised version of the Church-Turing thesis. This redefinition
had significant implications for the understanding of quantum computation and its
capabilities. Deutsch’s thesis stemmed from a critical observation: the prevailing notion
that computation must be carried out by a physical computing device bound by the laws
of physics.
Deutsch, however, introduced the idea that the Church-Turing thesis could
be restated by asserting that every physical process can be simulated by a universal
computing device. This proposition merged the theoretical physics underlying quantum
mechanics, which stands as the most successful theory to date, capable of successfully
explaining nearly all known physical phenomena, despite some aspects still remaining
elusive.
Deutsch’s revised thesis opens up exciting possibilities for the future of comput-
ing and the exploration of quantum algorithms. It suggests that harnessing the power of
quantum mechanics can lead to a paradigm shift in computational capabilities, providing
new avenues for solving complex problems that are beyond the reach of classical
computers.
Throughout history, the concept of computation has been rooted in our understanding
of physical laws and limitations. The Turing Machine, as a foundational model of
computation, was developed in the real world based on our current knowledge and capa-
bilities. However, it raises an intriguing question: What if there are yet-to-be-discovered
principles or laws that could revolutionize computation?
It is plausible that future discoveries could unveil new concepts, enabling the
development of computational models that surpass the capabilities of the classical
Turing Machine. Even if the classical Turing Machine is limited by decidable problems,
might new laws could lead to this new possibility. We must recognize that our current
understanding of physics might not encompass the complete truth, and there could be
hidden insights waiting to be unveiled.
This line of thinking gave rise to the concept of the Quantum Turing Machine. It
represents a theoretical computational model that adheres to the principles of quantum
physics, which have already demonstrated their validity, even if not yet fully compre-
hended or precisely defined. Quantum physics provides a rich tapestry of laws and
regulations that have proven to accurately describe the behavior of quantum systems.
These new theories and computational models based on quantum physics present a
fertile ground for exploration and innovation. They challenge us to rethink the fundamen-
tal nature of computation and provide avenues for transformative breakthroughs. As we
delve deeper into the realm of quantum computing, we uncover exciting possibilities and
untapped potential, offering new perspectives and solutions in the realm of computation.
To illustrate this concept, let’s consider the example of a single qubit. A qubit
represents the fundamental unit of quantum information and is analogous to a
classical bit. However, unlike classical bits that can only take on the values of 0
or 1, a qubit can exist in a superposition of both states.
The state space of a single qubit is a two-dimensional Hilbert Space. This space
represents the possible states of the qubit, with each state corresponding to a
unique vector within the space. For example, the basis states |0⟩ and |1⟩ represent
the qubit being in the state ”0” or ”1”, respectively.
In summary, the postulate that any isolated physical system can be represented as
a Hilbert Space provides the foundation for understanding the state of quantum
systems. This representation enables us to describe the properties and behavior of
quantum phenomena, such as the state of a single qubit within a two-dimensional
state space. By leveraging these concepts, we can explore the rich possibilities
offered by quantum information and computation.
2. Quantum Evolution:
In essence, the postulate states that the evolution of a quantum state is governed
by a unitary operator, which ensures that the transformation preserves important
properties of quantum mechanics. This unitary operator can be represented
by a unitary complex matrix, which captures the mathematical essence of the
transformation.
3. Quantum Measurement:
Considering a system in the state |φ⟩ just before the measurement, we can deter-
†
mine the probability of obtaining outcome m by defining p(m) = ⟨φ| Mm Mm |φ⟩.
The state of the system after the measurement, often referred to as the collapsed
state, is given by √ Mm†|φ⟩ .
⟨φ|Mm Mm |φ⟩
To
P ensure thatPthe probabilities form a complete set, we have the condition
†
m p(m) = m ⟨φ| Mm Mm |φ⟩ = 1. This equation ensures that the sum of
all probabilities equals one, indicating a consistent and complete probability
distribution for the possible measurement outcomes.
4. System Composition:
The tensor product finds particularly useful applications in representing the state
space of composite physical systems. Consider a scenario where we have mul-
tiple systems labeled from 1 to n, each with its corresponding state denoted as
|φi ⟩. The joint state of the entire system can be succinctly described using the
tensor product as |φ0 ⟩ ⊗ |φ1 ⟩ ⊗ . . . ⊗ |φn ⟩ or simply |φi ⟩ ⊗n . By combining these
individual states using the tensor product, we can construct more complex and
comprehensive descriptions of composite systems.
The tensor product is not limited to its application in describing the state space
of composite systems; it serves as a versatile mathematical tool with broad im-
plications. Its properties, such as linearity, distributive property, associativity, and
the generation of basis elements, empower mathematicians to perform intricate
calculations, manipulate expressions, and explore the dimensions of composite
spaces.
Furthermore, the tensor product finds significance across various mathematical
fields. It forms the foundation for advanced concepts in tensor calculus, multilin-
ear algebra, and differential geometry. Through the understanding and utilization
of the tensor product, researchers gain a powerful framework for comprehend-
ing the intricacies of composite systems and uncovering profound mathematical
relationships.
Definition 4.2 (Configuration). Suppose that the tape of the Quantum Turing Machine is
indexed by the set of integers, Z. Then:
(q, T, i) ∈ Q × ΓZ × Z
is a configuration of the Quantum Turing Machine, where q is the actual state of the
machine, T : Z → Γ is a function such that T (x) describes the symbol that is under the
cell indexed by x, and i is the index of the cell under the head.
In this way, the configuration gives us a complete description of the machine at
some computation step. Note that only functions T : Z → Γ such as T (i) ̸= □ for a finite
number of i’s are of interest to us, since the inputs are finite strings and at any one time
only a finite number of new symbols could be written to tape.
By the format of our transition function, and quantum postulates, at any moment
the machine does not have a single configuration but is in a superposition of possible
configurations. To account for this, we can formalize the set of possible configurations
that the machine can assume as a Hilbert space.
Definition 4.3 (Hilbert Space). A Hilbert Space is a real or complex vector space, with
an inner product ⟨·, ·⟩ that is also a complete metric space with respect to the norm
|| · || = ⟨·, ·⟩2
We can see a vector in ℓ(B) as a vector with infinite countable entries indexed by
B:
(. . . , xbi , xbi+1 , . . . ), xbj ∈ C, bj inB, jinN
.
Let C be the set of configurations of a Quantum turing machine. We can work
with the configurations in the quantum formalism treating then as a Hilbert Space using
the ℓ2 (C) space. But, to do this, we need C to be infinite countable.
Proof. The elements of C has the form (q, T, i) And T (i) ̸= square only for a finite
number of i’s. Then:
1. Q is finite and Z is countable infinite.
2. Let TS = {f | f : S → Σ} for some S ∈ X = {S | S ⊂ Z, |S| < ∞}
3. the set of all finite subsets of a countable infinite set is countable, therefore X is
countable.
|S| |S|
S P
4. Fix S.
S We have that |TS | = |Σ| . Therefore, | S∈X T S | = S∈X |Σ| , and
then S∈X TS is infinite countable. S
5. Extend the domain of each function in S∈X TS to Z by sending Z \ S to □.
Then the set of all possible T ’s that describe the tape of some QTM is a countable
infinity.
6. The product set of countable infinite sets is countable infinite.
X
Uδ |C⟩ = Uδ |q, T, i⟩ = δ(q, T (i)) [(p, a, D)] |p, T(a→i) , i + D⟩
p,a,D
That is, T(a→i) is the same function as T , but if the symbol of the cell indexed by i
is overwritten with a.
Since |C⟩ is a basis, Uδ extends to the whole space by linearity. Each application
of Uδ in the actual superposition of configurations is a computational step. Computing
T steps is UδT |Cinitial ⟩. Since the notation is heavy, we give a step-by-step illustration of
Uδ ’s dynamics: Suppose that the machine is in configuration (q, T, i) and Uδ is applied,
to perform one computation step. The following happens:
P state of the machine, (q, T (i)), for
1. The transition function evaluates the current
every configuration in the superposition αi |Ci ⟩, Ci ∈ C, returning a function
δ(q, T (i)) : Q × Γ × {−1, 1} → C that describes the probability amplitudes of the
actions.
2. Then the machine realizes every action in superposition, with probability ampli-
tude given by the function δ(q, T (i)). That is, if (p, a, D) is an action, then the
QTM performs it with probability amplitude δ(q, T (i))[(p, a, D)].
3. Then the machine enters a superposition of configurations given by the defini-
tion of U , weighted by the probability amplitudes given above. That is, where
δ(q, T (i))(p, a, D) is the probability amplitude of the configuration that the ma-
chine assumes after performing (p, a, D): the configuration |p, T(a→i),i+d ⟩.
The operator U can be viewed as a countable infinite matrix, with rows and
columns indexed by the configurations. The entry [Uδ ](i,j) ] is the probability amplitude
induced by δ of configuration Cj to transition to Ci . Note that the majority of the entry
will be 0’s:
...
Conf ig1 = |q, T1 , i⟩ ··· Conf igj = |p, Tj , i + 1⟩
.
Conf ig1 = |q, T1 , i⟩ 0 ··· δ(p, T2 (i + 1)) [(q, T1 (i + 1), −1)] . .
.. .. ... .. ...
. . .
..
Conf igj = |p, Tj , i + 1⟩ δ(q, T1 (i)) [(p, T2 (i), 1)] · · · 0 .
... ... ... ... ...
with:
(
δ(p, Ty (k)) [(q, Tx (k), 1 − k)], if |p, Tt , k⟩ ≺ |q, Tx , i⟩
⟨q, Tx , i|Uδ |p, Ty , k⟩ =
0, otherwise.
The diagonals are 0 because there is no action that can take a configuration to itself
since in each step the head must move to another cell.
Up to this point, we haven’t placed any restrictions on delta, and said nothing
about the properties of Uδ , but for Uδ to be a unitary operator, in a way that respects the
postulates of quantum mechanics, we need delta to satisfy certain conditions.
Theorem 4.1. The operator Uδ is unitary if, and only if, δ satisfies the following condi-
tions:
1. (Unit length) The For al (q, a) ∈ Q × Σ,
X
| δ(q, a) [(p, b, D)]|2 = 1
p,b,D
The first condition tells us that the amplitudes of actions leaving any state-symbol
pair have unit square magnitude. The second says that the superposition of actions leav-
ing two different state-symbols must be orthogonal. And the third says that the actions
that go to the right must be orthogonal to the actions that go to the left when fixed by the
state of the machine.
Proof. If U is unitary then U ∗ U = I, that is, the columns have length 1 and are mutually
orthogonal. Since each column in Uδ is a configuration, it has a fixed state (q, a), and then
a column has values given by the evaluation of a single function δ(q, a), which probability
amplitudes sums to 1, so the diagonals are 1 if and only if the condition 1 holds.
The following configurations cannot reach the same configuration in one step and
are guaranteed orthogonal (since this columns will never have two non-zero values in the
same line):
• The one’s in which the tape have different symbols in cells others than the one
where the head is;
• the one’s with the head in different cells
• the one’s in which the heads is not in cells that differs in exactly two units
So, we need to take care of the other cases.
• The configurations with heads in the same cell and same tape content, except for
the symbol on the head and the states are orthogonal if and only if condition 2
holds;
• the condition 3 holds only and if only the configurations in which the head differ
by two units ar orthogonal;
– These pairs can reach the same configuration in one step if they differ only
in states and in the symbol written under the reading head
– These configurations are such that the first one is in state q1 , reading p1 ,
with b two spaces to the left, and the second one is in state q2 , reading p2 ,
with b′ two spaces to the right.
A contradiction.
Thinking about this idea, Guerrini, Martini & Masini (2020) proposed a model
with additional configurations that simulate the final configuration. So with n final config-
urations we could loop through them n times before deciding to halt and measure. Thus,
it would suffice to stipulate a minimum number to require the halting and measurement
of the tape.
The most accepted definition is the one given by Bernstein and Varziani (1993):
Definition 4.7. A final configuration is any configuration in some final state qf . If with
input x, at time T the superposition contains only final configurations and at a time before
T the superposition had no final configurations, then QTM M stops with runtime T at
input x.
After the halting, one must measure the superposition configurations, and then
check the contents of the tape. The result of the measure is probabilistic, as stipulated by
quantum theory.
n
In the worst case, this computation takes n + 2
operations. It can be optimized to
a maximum of n, starting from the tape start.
In the quantum case, the QTM takes advantage of the superposition of configura-
tions, and then scans the tape to the left in one configuration and to the right in another
configuration.
n
In this case, the computation takes 2
operations in the worst case.
To illustrate that quantum machines are not so different from quantum circuits,
here is an implementation of a transition function that applies the famous Hadamard Gate
to the input.
Definition 5.2 (Coin-flip Step on PTM). Let M be a Probabilistic Turing Machine, where
each nondeterministic step is called a coin-flip step and it has two legal next moves.
Considering this, we could define the probability of each b computation branch of M on
an input w as follows. We could define the probability of the branch b as:
Pr[b] = 2−k , where k is the number of coin-flip that occurs on the branch b.
With the given definitions, we can now turn our attention to the languages defined
by a PTM that halts within a polynomial number of steps relative to the size of the input.
This particular criterion allows us to establish boundaries for complexity classes.
Definition 5.4 (Class RP). We initially could define the complexity class randomized poly-
nomial time (RP), where RP ⊂ BP P , as the set of all languages L of a PTM M which
could be decided into a polynomial time within a bounded error by a constant factor of
the acceptance correctness and do not admit possibilities of false-positive. So let x be an
input, and M which decides L ∈ RP so we got that:
2
1. x ∈ L =⇒ Prob[M accept x] > and,
3
2. x ∈
/ L =⇒ Prob[M reject x] = 1
Analogously we could define the class of problems that do not admits possibilities
of false-positive errors, this will describe the main proposition of the co-RP class:
Definition 5.5 (Class co-RP). We initially could define the complexity class complement
of the randomized polynomial time (co-RP), where co-RP ⊂ BP P , as the set of all
languages L of a PTM M which could be decided into a polynomial time within a bounded
error by a constant factor of the acceptance correctness and do not admit possibilities of
false-negatives. So let x be an input, and M which decides L ∈ co-RP so we got that:
1. x ∈ L =⇒ Prob[M accept x] = 1 and,
2
2. x ∈
/ L =⇒ Prob[M reject x] >
3
Then we have naturally that co-RP ⊂ BP P and RP ⊂ BP P are the more
specified class of the BPP definition. Also, we could relate the problems in the RP class
to the Classical Turing Machine classes, as an instance to prove that P ⊂ RP .
Theorem 5.1. P ⊆ RP .
Proof. This represents the main trivial relationship between TM and PTM computational
model classes. It’s almost trivial to see that P is a subset of RP since we could construct
a Turing Machine for any language L ∈ P that ignores the random bits it receives and
acts deterministically on its input.
Theorem 5.2. RP ⊆ N P .
Definition 5.6 (Class ZPP). The complexity class zero-error probabilistic polynomial
time (ZPP), where ZP P = co-RP ∩ RP , as the set of all languages L of a PTM M
which could be decided into a polynomial time within zero errors. So let for a L ∈ ZP P
and an input x, then M halts in a state ”I don’t know” with less than 50% of chances,
otherwise, we got:
1. x ∈ L =⇒ Prob[M accept x] = 1 and,
2. x ∈
/ L =⇒ Prob[M reject x] = 1
The ZPP complexity class, although intriguing, constitutes only a small fraction of
the problems within the broader BPP class. It is noteworthy to consider the relationship
between classical Turing Machines and Probabilistic Turing Machines. In this context,
we can assert that the class P, which consists of classical polynomial problems with exact
solutions, is a subset of ZPP. However, it is important to emphasize that membership in
ZPP does not guarantee termination.
Furthermore, an interesting observation is that ZPP problems are not more large
than RP problems. This leads us to formulate and prove the following theorem:
Theorem 5.3. ZP P ⊆ RP .
Proof. This proof could be made by simple construction, but as was said before the RP
2
class does not need to be defined exactly with a bounded probability error of , it only
3
2
needs to be defined by a constant factor, and most of the literature uses , but for this
3
1
current proof, let’s define the bound factor as . Let M be a PTM that decides a language
2
1
L ∈ ZP P , so by definition, we got that M halt in a ”don’t know” state less than of
2
the times, then we could write a M ∗ PTM which receives an input x and run M (x) if
the answer is ”rejection” then M ∗ returns ”rejection”, otherwise when the response be
”acceptance” or ”don’t know”, for both cases ”acceptance” will be returned. Then, we
will get:
1
1. x ∈ L =⇒ Prob[M ∗ accept x] > and,
2
/ L =⇒ Prob[M ∗ reject x] = 1
2. x ∈
Definition 5.7 (Class BQP). We initially could define the first complexity class quantum
bounded-error on both sides in a polynomial time (BQP), as the set of all languages L
of a QTM M which could be decided into a polynomial time within a bounded error by
a constant factor of the acceptance/rejection correctness. The most actual reference says
2
that this constant factor at least could be . So let x be an input, and M which decides
3
L ∈ BQP so we got that:
2
1. x ∈ L =⇒ Prob[M accept x] > and,
3
2
2. x ∈/ L =⇒ Prob[M reject x] > .
3
The problems which belong to the BQL, are those abstractly viewed as efficiently
solvable through the quantum computers solved by a polynomial time of quantum
computations with a small probability of error.
Definition 5.8 (Class ZQP). This complexity class quantum zero errors in a polynomial
time (ZQP) is the set of all languages L of a QTM M which could be decided into a
polynomial time within zero errors. So let for a L ∈ ZQP and an input x, then M halts
in a state ”I don’t know” with less than 50% of chances, otherwise, we got:
1. x ∈ L =⇒ Prob[M accept x] = 1 and,
2. x ∈
/ L =⇒ Prob[M reject x] = 1
As we could see there is a strong similarity between the definition of these two
classes and their probabilistic version. And then we could prove a visible relationship:
Proof. We could say that BQP contains BPP because a Quantum Turing Machine M
could simulate any classical circuit and also has the capacity to generate random bits
through special quantum gates as the Hadamard, this characterization of generating ran-
domized paths is the main qualification of the BPP space too.
1
1. x ∈ L =⇒ Prob[M ∗ accept x] > and,
2
/ L =⇒ Prob[M ∗ reject x] = 1
2. x ∈
Then we could define a new special class that arises from the ZQP definition.
Definition 5.9 (Class EQP). This complexity class quantum zero exactly errors in a poly-
nomial time (EQP) is the set of all languages L of a QTM M which could be decided into
a polynomial time within zero errors without a halt in an undefined final state. So let for
a L ∈ EQP and an input x, then M we got:
1. x ∈ L =⇒ Prob[M accept x] = 1 and,
2. x ∈
/ L =⇒ Prob[M reject x] = 1
It’s obvious that EQP ⊆ ZQP ⊆ BQP , as we have during the construction
and definition of those states, and also P ⊆ EQP . The Turing Machine also could be
simulated by a Quantum Turing Machine and then we could implement any polynomial
algorithm from the classical computation over the QTM.
Till the moment was seen the main basic definitions of complexity classes from
the Quantum Turing Machine, most of the classes, in general, made analogs to the
classical complexity classes. Then we could define different manners to see a classical
class through the QTM iris. One of the first non-typical that we could define is the QMA
(Quantum Merlin-Artur) but before joining on a formal definition to this, let’s discuss
what is a verifier in quantum computation.
Definition 5.10 (Quantum Poof). In order to build a seams-like NP class delimited by the
Quantum Turing Machine we need to specify a verifier or in this case a quantum proof.
The quantum proof is a quantum state that works as a certificate/ witness to a quantum
computer, which runs into a polynomial time within a given input, with a high proba-
bility confidence. This is what would call as an efficient verification over the quantum
computation.
To understand it better, let’s introduce the principle of the Merlin(M) Arthur (A)
game. Let’s say that M is a powerful one and Arthur has a polynomial time bound. We
could define a boolean function evaluated over a n constraints, an f (x1 , x2 , . . . , xn ). Then
Merlin should generate (a1 , a2 , . . . , an ) and sends the attempt of values to Arthur which
will say whether or not the attempt satisfies f with a high probability. Now, if Arthur
could do this by using a PTM into a polynomial computation, then we could say that
f ∈ M A class, which describes a different kind of NP class from the ability of Arthur to
use randomness.
And then we could define QMA as an analog class to the NP and has almost the
same relationship from NP to P, for the BPP class with the probabilistic approach:
Definition 5.11 (Class QMA). QMA is the class of decision problems that could be solved
by a V quantum algorithm over a Quantum Turing Machine which for all possible inputs
x, and a language L ∈ QM A which respects the following proposition:
3
1. if x ∈ L =⇒ there is a |ϕ⟩ for which V (x, |ϕ⟩) = 1 with probability of a =
4
and,
3
2. if x ∈/ L =⇒ ∀ |ϕ⟩ the probability of V (x, |ϕ⟩) = 1 is ≤ b =
4
Where |ϕ⟩ is the quantum proof, the verifier quantum state.
3
An interesting fact about the QMA is that we don’t exactly could hinge in the
4
probability, we could amplify the success probability to any constant factor lower than 1.
So there is also proof of roobostener about the error bounds from this class which could
be enunciated as the following.
Theorem 5.5. Let a, b : N 7→ [0, 1] and q a polynomial function that satisfies a(n) −
1
b(n) ≥ , ∀n ∈ N. Then QM A(a, b) ⊆ QM A(1 − 2−2 , 2−r ) for every r ∈ poly.
q(n)
Proof. The first part of the proof has a simple idea, if we have a verification algorithm
V with completeness and soundness probabilities given by a, b we coukd construct a new
verification procedure that runs A over a large number of copies of the original certificate
and accepts if the number of acceptances of A is greater than (a + b)/2. The second and
hardest part is to show how to construct the new certificate where we cannot assume that
consists of several copies of the original certificate but may be an arbitrary and possibly
high entangled quantum state.
The objective of this problem is when a H matrix is given, is needed to find the
smallest eigenvalue λ of H, this λ is used to be called the ground state energy of
the Hamiltonian.
Definition 5.12 (Interactive Proof system). An interactive Proof (IP) system is a theo-
retical computational model in which a provider and a verifier exchange messages to
establish the correctness of a given input string belonging to a specific language. This
model is characterized by certain properties: the verifier has a bounded computational
complexity but is always honest in their decision-making, while the prover has unlimited
computational power but is not inherently trustworthy.
The computation takes place as the verifier receives a string and engages in a
process of communication with the prover through message exchanges. The goal is for
the verifier to reach a certain answer and become convinced of its correctness.
Interactive proof systems are capable of recognizing and verifying problems within
the boundaries of the verifier’s computational abilities. These bounds determine the ver-
ifier’s limited capabilities in effectively assessing and validating the solution provided by
the prover. Usually, the verifiers have polynomial time complexity as it computational
power.
We can extend the concept of Interactive Proof to the realm of quantum computa-
tion, giving rise to the Quantum Interactive Proof System. In this system, the messages
exchanged between the prover and the verifier consist of quantum information, introduc-
ing novel branches and intriguing properties that differ from the classical definition. This
quantum variant of interactive proof holds promise for exploring the capabilities and
Figure 7. Messages Protocol in a IP
Definition 5.13 (Class QIP). Based on the properties which arise from the quantum inter-
actions between a provider and a verifier we also could propose a new complexity class.
So let L be a language and m be a polynomial bounded function and a, b : N 7→ [0, 1]
some polynomial computable functions. Then is said that L ∈ QIP (m, a, b) if and only
if there is an m-message quantum verifier V with the following properties:
1. Completeness property. ∀x ∈ L there is a quantum prover P that causes V accept
x with probability at least of a(n) where n is the size of x.
2. Soundness property. ∀x ∈ / L then every quantum prover P causes V to reject x
with probability at most of b(n) where n is the size of x.
S
Then QIP = m QIP (m) is the union of all polynomial bounded functions m.
This kind of class is quite robust according to the choice of completeness and
soundness probabilities. And then we could define a new relationship with the classical
complexities: QIP ⊆ EXP .
starting point of study to highlight how much computation it’s possible and currently effi-
cient and what is the advantages and failures to move a problem along to the complexity
classes.
In Figure 9, the left side illustrates the established relationships in terms of class
inclusion, moving from top to bottom. This representation captures the relationships be-
tween classes derived from the three computational models based on the Turing Machine
that have been discussed.
6. Bibliographic
Down below referred to the main bibliography used in the present article.
References
[Bennett et al. 1997] Bennett, C. H., Bernstein, E., Brassard, G., and Vazirani, U. (1997).
Strengths and weaknesses of quantum computing. SIAM Journal on Computing,
26(5):1510–1523.
[Bernstein and Vazirani 1993] Bernstein, E. and Vazirani, U. (1993). Quantum complexity
theory. In Proceedings of the Twenty-Fifth Annual ACM Symposium on Theory of
Computing, STOC ’93, page 11–20, New York, NY, USA. Association for Computing
Machinery.
[Bernstein and Vazirani 1997] Bernstein, E. and Vazirani, U. (1997). Quantum complexity
theory. SIAM Journal on Computing, 26(5):1411–1473.
[Boulic and Renault 1991] Boulic, R. and Renault, O. (1991). 3d hierarchies for animation.
In Magnenat-Thalmann, N. and Thalmann, D., editors, New Trends in Animation and
Visualization. John Wiley & Sons ltd.
[Carpentieri 2003] Carpentieri, M. (2003). On the simulation of quantum turing machines.
Theoretical Computer Science, 304(1):103–128.
[Deutsch and Penrose 1985] Deutsch, D. and Penrose, R. (1985). Quantum theory, the
church–turing principle and the universal quantum computer. Proceedings of the Royal
Society of London. A. Mathematical and Physical Sciences, 400(1818):97–117.
[Fortnow 2000] Fortnow, L. (2000). One complexity theorist’s view of quantum computing.
Electronic Notes in Theoretical Computer Science, 31:58–72. CATS 2000 Computing:
the Australasian Theory Symposium.
[Fouche et al. 2007] Fouche, W., Heidema, J., Jones, E. G., and Potgieter, P. (2007).
Deutsch’s universal quantum turing machine (revisited).
[Guerrini et al. 2020] Guerrini, S., Martini, S., and Masini, A. (2020). Quantum turing ma-
chines: Computations and measurements. Applied Sciences, 10(16).
[Hu et al. 2019] Hu, S., Liu, P., Chen, C. R., Pistoia, M., and Gambetta, J. (2019).
Reduction-based problem mapping for quantum computing. Available at https:
//hushaohan.github.io/pdf/hu2019computer.pdf.
[Kaye et al. 2007] Kaye, P., Laflamme, R., and Mosca, M. (2007). An Introduction to Quan-
tum Computing. OUP Oxford.
[Knuth ] Knuth, D. Knuth: Computers and typesetting. Available at http://www.qqq.
com, version 1.6.0.
[Knuth 1984] Knuth, D. E. (1984). The TEX Book. Addison-Wesley, 15th edition.
[Linden and Popescu 1998] Linden, N. and Popescu, S. (1998). The halting problem for
quantum computers. arXiv: Quantum Physics.
[Molina and Watrous 2018] Molina, A. and Watrous, J. (2018). Revisiting the simulation of
quantum turing machines by quantum circuits. CoRR, abs/1808.01701.
[Ozawa 2002] Ozawa, M. (2002). Quantum Turing Machines: Local Transition, Prepara-
tion, Measurement, and Halting, pages 241–248. Springer US, Boston, MA.
[Sipser 2013] Sipser, M. (2013). Introduction to the Theory of Computation. Course Tech-
nology, Boston, MA, third edition.
[Smith and Jones 1999] Smith, A. and Jones, B. (1999). On the complexity of computing. In
Smith-Jones, A. B., editor, Advances in Computer Science, pages 555–566. Publishing
Press.
[Watrous ] Watrous, J. Quantum computational complexity. Avail-
able at https://cs.uwaterloo.ca/˜watrous/Papers/
QuantumComputationalComplexity.pdf.
[Yamakami 1999] Yamakami, T. (1999). A foundation of programming a multi-tape quan-
tum turing machine. In Kutyłowski, M., Pacholski, L., and Wierzbicki, T., editors,
Mathematical Foundations of Computer Science 1999, pages 430–441, Berlin, Heidel-
berg. Springer Berlin Heidelberg.
[Yanofsky and Mannucci 2008] Yanofsky, N. and Mannucci, M. (2008). Quantum Comput-
ing for Computer Scientists. Cambridge University Press.