# Quantum Turing Machines: Computations and Measurements

^{1}

^{2}

^{3}

^{4}

^{*}

^{†}

## Abstract

**:**

## 1. Introduction

#### Organization of the Paper

## 2. Quantum Turing Machines

#### 2.1. Plain Configurations

- 1.
- $q\in Q$ is the current state, where Q is the finite set of the internal states of M.
- 2.
- $\beta \in {\mathsf{\Sigma}}^{*}$ is the right content of the tape (w.r.t. the head position), where $\mathsf{\Sigma}$ is the tape alphabet of the machine M. If $\beta =u{\beta}^{\prime}\ne \lambda $, the symbol $u\in \mathsf{\Sigma}$ is the current symbol, which is the content of the current cell, while ${\beta}^{\prime}\in {\mathsf{\Sigma}}^{*}$ is the longest string on the tape ending with a symbol different from □ and whose first symbol (if any) is written in the cell immediately to the right of the current cell. When $\beta =\lambda $ instead, the right content of the tape, including the current cell, is empty, and the current symbol is □.
- 3.
- $\alpha $ is the left content of the tape (w.r.t. the head position). That is, it is either the empty string $\lambda $, or it is the longest string on the tape starting with a symbol different from □, and whose last symbol is written in the cell immediately to the left of the current cell.
- 4.
- i is the address of the current cell.

#### 2.2. Hilbert Space of Configurations

#### 2.3. Transitions of a QTM

#### 2.4. Initial and Final Configurations

#### 2.5. Pre Quantum Turing Machines

**Definition**

**1**

- ${\mathcal{Q}}_{s}\subseteq \mathcal{Q}$ is the set of source states of M, and ${q}_{i}\in {\mathcal{Q}}_{s}$ is a distinguished source state named the initial state of M;
- ${\mathcal{Q}}_{t}\subseteq \mathcal{Q}$ is the set of target states of M, and ${q}_{f}\in {\mathcal{Q}}_{t}$ is a distinguished target state named the final state of M;
- ${\mathcal{Q}}_{s}$ and ${\mathcal{Q}}_{t}$ have the same cardinality and ${\mathcal{Q}}_{s}\cap {\mathcal{Q}}_{t}=\varnothing $;
- ${\delta}_{0}:((\mathcal{Q}\setminus {\mathcal{Q}}_{t})\times \mathsf{\Sigma})\to {\ell}_{1}^{2}((\mathcal{Q}\setminus {\mathcal{Q}}_{s})\times \mathsf{\Sigma}\times \mathbb{D})$ is the quantum transition function of M, where $\mathbb{D}=\{L,R\}$.

**Remark**

**1**

**Remark**

**2**

**Definition**

**2**(computable numbers).

#### 2.6. Configurations

**Remark**

**3**

**Definition**

**3**

- ${\mathfrak{C}}_{M}$ is the set of the configurations of M.
- ${\mathfrak{C}}_{M}^{s}$ and ${\mathfrak{C}}_{M}^{t}$ are the sets of the source and of the target configurations of M, respectively.
- ${\mathfrak{C}}_{M}^{init}$ and ${\mathfrak{C}}_{M}^{fin}$ are the sets of the initial and final configurations of M, respectively.
- ${\mathfrak{C}}_{M}^{0}$ is the set of the configurations $\langle \alpha ,q,\beta ,i,0\rangle $ of M.

#### 2.7. Quantum Configurations

**Definition**

**4**

**Definition**

**5**

#### 2.8. Time Evolution Operator and QTM

- 1.
- $C\in {\mathfrak{C}}_{M}^{0}\setminus {\mathfrak{C}}_{M}^{t}$.Let ${C}_{p,v,d}\in {\mathfrak{C}}_{M}^{0}\setminus {\mathfrak{C}}_{M}^{s}$ be the configuration obtained by leaving the counter to 0, by replacing the symbol u in the current cell with the symbol v, by moving the head on the d direction, and by setting the machine into the new state p. In detail, if $C\simeq \langle \alpha w,q,u\beta ,i,0\rangle $ we have$${C}_{p,v,d}\simeq \left\{\begin{array}{cc}\langle \alpha wv,p,\beta ,i+1,0\rangle \hfill & \phantom{\rule{2.em}{0ex}}\mathrm{when}d=R\hfill \\ \langle \alpha ,p,wv\beta ,i-1,0\rangle \hfill & \phantom{\rule{2.em}{0ex}}\mathrm{when}=L.\hfill \end{array}\right.$$$${W}_{0,M}\left(\right|C\rangle )=\sum _{(p,v,d)\in (\mathcal{Q}\setminus {\mathcal{Q}}_{s})\times \mathsf{\Sigma}\times \mathbb{D}}{\delta}_{0}(q,u)(p,v,d)\phantom{\rule{0.166667em}{0ex}}|{C}_{p,v,d}\rangle $$
- 2.
- $C\in {\mathfrak{C}}_{M}^{s}\setminus {\mathfrak{C}}_{M}^{0}$.Let ${C}_{-1}\in {\mathfrak{C}}_{M}^{s}$ be the source configuration obtained by decreasing by 1 the counter of C, we define$${W}_{s,M}\left(\right|C\rangle )=|{C}_{-1}\rangle $$
- 3.
- $C\in {\mathfrak{C}}_{M}^{t}$.Let ${C}_{+1}\in {\mathfrak{C}}_{M}^{t}\setminus {\mathfrak{C}}_{M}^{0}$ be the target configuration obtained by increasing by 1 the counter of C, we define$${W}_{t,M}\left(\right|C\rangle )=|{C}_{+1}\rangle $$

**Definition**

**6**

**Definition**

**7**

#### 2.9. Computations

**Property**

**1.**

**Definition**

**8**

**Definition**

**9**

- 1.
- $|{\varphi}_{0}\rangle =|\varphi \rangle $;
- 2.
- $|{\varphi}_{i}\rangle ={U}_{M}^{i}|\varphi \rangle $.

**Remark**

**4.**

#### 2.10. Local Conditions for Unitary Evolution

**Theorem**

**1.**

- 1.
- for any $(q,a)\in (\mathcal{Q}\setminus {\mathcal{Q}}_{t})\times \mathsf{\Sigma}$$$\sum _{(p,b,d)\in (\mathcal{Q}\setminus {\mathcal{Q}}_{s})\times \mathsf{\Sigma}\times \mathbb{D}}{\left|{\delta}_{0}(q,a)(p,b,d)\right|}^{2}=1$$
- 2.
- for any $(q,a),({q}^{\prime},{a}^{\prime})\in (\mathcal{Q}\setminus {\mathcal{Q}}_{t})\times \mathsf{\Sigma}$ with $(q,a)\ne ({q}^{\prime},{a}^{\prime})$$$\sum _{(p,b,d)\in (\mathcal{Q}\setminus {\mathcal{Q}}_{s})\times \mathsf{\Sigma}\times \mathbb{D}}{\delta}_{0}({q}^{\prime},{a}^{\prime}){(p,b,d)}^{*}{\delta}_{0}(q,a)(p,b,d)=0$$
- 3.
- for any $(q,a,b),({q}^{\prime},{a}^{\prime},{b}^{\prime})\in (\mathcal{Q}\setminus {\mathcal{Q}}_{t})\times {\mathsf{\Sigma}}^{2}$$$\sum _{p\in (\mathcal{Q}\setminus {\mathcal{Q}}_{s})}{\delta}_{0}({q}^{\prime},{a}^{\prime}){(p,{b}^{\prime},L)}^{*}{\delta}_{0}(q,a)(p,b,R)=0$$

**Proof.**

- 1.
- $\rho $ is the same of the transition function ${\delta}_{0}$ of M for any non-terminal state;
- 2.
- for any terminal state ${q}_{t}$ and every current symbol u, $\rho $ has a unique non-null transition, with weight 1, that leaves the current symbol on the tape unchanged, moves the head to the right, and goes into an initial state ${q}_{s}$; and,
- 3.
- the non-null out transitions from two distinct terminal states lead to two distinct source states, defining in this way a bijection between the set of the target and source states.

**Remark**

**5.**

- ${\delta}_{0}(q,\square )(q,\square ,L)=1/2$
- ${\delta}_{0}(q,\square )(q,\square ,R)=1/2$
- ${\delta}_{0}(q,\square )(r,\square ,L)=1/2$
- ${\delta}_{0}(q,\square )(r,\square ,R)=-1/2$
- ${\delta}_{0}(r,\square )(q,\square ,L)=1/2$
- ${\delta}_{0}(r,\square )(q,\square ,R)=-1/2$
- ${\delta}_{0}(r,\square )(r,\square ,L)=1/2$
- ${\delta}_{0}(r,\square )(r,\square ,R)=1/2$

#### 2.11. A Comparison with Bernstein and Vazirani’s QTMs: Part 1

- 1.
- the set of configurations coincides with all possible classical configurations, namely all the set ${\mathsf{\Sigma}}^{*}\times \mathcal{Q}\times {\mathsf{\Sigma}}^{*}\times \mathbb{Z}$;
- 2.
- no superposition is allowed in the initial q-configuration (it must be a classical configuration $\langle \alpha ,q,\beta ,i\rangle $ with amplitude 1);
- 3.
- given an initial configuration $|C\rangle $, the q-configuration ${\varphi}_{k}={U}_{M}^{k}|C\rangle $ is the final q-configuration for the computation starting in $|C\rangle $, when: (i) all of the configurations in ${\varphi}_{k}$ are final; (ii) for all $i<k$, the q-configuration ${\varphi}_{i}={{U}_{M}}^{i}|C\rangle $ does not contain any final configuration. When this is the case, we also say that the QTM halts in k steps in ${\varphi}_{k}$;
- 4.
- if a QTM halts, then the tape head is on the start cell of the initial configuration; and,
- 5.
- there is no counter and for every symbol a there is loop from the only final state ${q}_{f}$ into the only initial state ${q}_{0}$, which is, $\delta ({q}_{f},a)({q}_{0},a,R)=1$ for every $a\in \mathsf{\Sigma}$. Therefore, because of the local unitary conditions (that must hold in the final state too), these are the only outgoing transitions from ${q}_{f}$, and the only incoming ones into ${q}_{0}$. Accordingly, $\delta ({q}_{f},a)({q}^{\prime},{a}^{\prime},d)=0$ if $({q}^{\prime},{a}^{\prime},d)\ne ({q}_{0},a,R)$ and $\delta ({q}^{\prime},{a}^{\prime})({q}_{0},a,d)=0$ if $({q}^{\prime},{a}^{\prime},d)\ne ({q}_{f},a,R)$.

**Theorem**

**2.**

**Proof.**

## 3. Quantum Computable Functions

#### 3.1. Probability Distributions

**Definition**

**10**

- 1.
- A partial probability distribution (PPD) of natural numbers is a function ${\mathbf{P}}_{}:\mathbb{N}\to {\mathbb{R}}_{[0,1]}$ such that ${\sum}_{n\in \mathbb{N}}{\mathbf{P}}_{}\left(n\right)\le 1$.
- 2.
- If ${\sum}_{n\in \mathbb{N}}{\mathbf{P}}_{}\left(n\right)=1$, ${\mathbf{P}}_{}$ is a probability distribution (PD).
- 3.
- $\mathbb{P}$ and ${\mathbb{P}}_{1}$ denote the sets of all the PPDs and PDs, respectively.
- 4.
- If the set $\{n:{\mathbf{P}}_{}\left(n\right)\ne 0\}$ is finite, ${\mathbf{P}}_{}$ is finite.
- 5.
- Let ${\mathbf{P}}_{}^{\prime},{\mathbf{P}}_{}^{\u2033}$ be two PPDs, we say that ${\mathbf{P}}_{}^{\prime}\le {\mathbf{P}}_{}^{\u2033}$ (${\mathbf{P}}_{}^{\prime}<{\mathbf{P}}_{}^{\u2033}$) if and only if for each $n\in \mathbb{N}$, ${\mathbf{P}}_{}^{\prime}\left(n\right)\le {\mathbf{P}}_{}^{\u2033}\left(n\right)$ (${\mathbf{P}}_{}^{\prime}\left(n\right)<{\mathbf{P}}_{}^{\u2033}\left(n\right)$).
- 6.
- Let $\mathcal{P}={\left\{{\mathbf{P}}_{i}\right\}}_{i\in \mathbb{N}}$ be a denumerable sequence of PPDs; $\mathcal{P}$ is monotone if and only if ${\mathbf{P}}_{i}\le {\mathbf{P}}_{j}$, for each $i<j$.

**Remark**

**6.**

**Definition**

**11**

#### 3.2. Monotone Sequences of Probability Distributions

**Proposition**

**1.**

- 1.
- ${lim}_{i\to \infty}{\mathbf{P}}_{i}$ exists and it is the supremum $\u2a06\mathcal{P}$ of $\mathcal{P}$;
- 2.
- ${\sum}_{n\in \mathbb{N}}(\u2a06\mathcal{P})\left(n\right)=\u2a06{\left\{{\sum}_{n\in \mathbb{N}}{\mathbf{P}}_{i}\left(n\right)\right\}}_{i\in \mathbb{N}}$;
- 3.
- $\u2a06\mathcal{P}\in \mathbb{P}$.

**Proof.**

#### 3.3. PPD Sequence of a Computation

**Definition**

**12**

**Proposition**

**2.**

**Proof.**

**Definition**

**13.**

- 1.
- That when in a final (target) configuration, the machine can only increment the counter; as a consequence, the $\mathbf{val}$ of final (target) configurations does not change.
- 2.
- That when entering for the first time into a final (target) state, the value of the counter is initialised to 0.
- 3.
- That when in a final (target) configuration $|\varphi ,n\rangle $, the counter gives the number of steps n since M is looping into the plain configuration $\varphi $.

**Theorem**

**3**

**Proof.**

#### 3.4. Computed Output

**Definition**

**14**

**Definition**

**15**

**Proposition**

**3.**

- 1.
- There exists a k, such that, for each $j\ge k$, $|{\varphi}_{j}\rangle $ is final and ${\mathbf{P}}_{|{\varphi}_{j}\rangle}={\mathbf{P}}_{}$.
- 2.
- ${\mathbf{P}}_{}$ is a PD.

**Proof.**

- 1.
- ${K}_{|\varphi \rangle}^{M}$ is finitary. In this case, ${M}_{|\varphi \rangle}\to {\mathbf{P}}_{}\in {\mathbb{P}}_{1}$; the output of the computation is then a PD and is determined after a finite number of steps;
- 2.
- ${K}_{|\varphi \rangle}^{M}$ is not finitary, but ${M}_{|\varphi \rangle}\to {\mathbf{P}}_{}\in {\mathbb{P}}_{1}$. The output is a PD and is determined as a limit; and,
- 3.
- ${K}_{|\varphi \rangle}^{M}$ is not finitary, and ${M}_{|\varphi \rangle}\to {\mathbf{P}}_{}\in \mathbb{P}\setminus {\mathbb{P}}_{1}$ (the sum of the probabilities of observing natural numbers is $p<1$). Not only the result is determined as a limit, but we cannot extract a PD from the output.

#### 3.5. Quantum Partial Computable Functions

**Definition**

**16**

- 1.
- A function $f:{\ell}_{1}^{2}\to \mathbb{P}$ is partial quantum computable (q-computable) if there exists a QTM M s.t. $f\left(\mathbf{x}\right)={\mathbf{P}}_{}$ if and only if ${M}_{\nu \left(\mathbf{x}\right)}\to {\mathbf{P}}_{}$.
- 2.
- A q-partial computable function f is quantum total (q-total) if for each $\mathbf{x}$, $f\left(\mathbf{x}\right)\in {\mathbb{P}}_{1}$.

## 4. Observables

Measurement

Given a set of configurations $\mathcal{B}\subseteq \mathfrak{C}$, a measurement observing if a quantum configuration $|\varphi \rangle ={\sum}_{C\in \mathfrak{C}}{e}_{C}|C\rangle $ belongs to the subspace generated by $\mathsf{CB}\left(\mathcal{B}\right)$ gives a positive answer with a probability $p={\sum}_{C\in \mathcal{B}}{\left|{e}_{C}\right|}^{2}$, equal to the square of the norm of the projection of $|\varphi \rangle $ onto ${\ell}^{2}\left(\mathcal{B}\right)$, causing at the same time a collapse of the configuration into the normalised projection ${\sum}_{C\in \mathcal{B}}{p}^{-\frac{1}{2}}{e}_{C}|C\rangle $; dually, with probability $1-p={\sum}_{C\notin \mathcal{B}}{\left|{e}_{C}\right|}^{2}$, it gives a negative answer and a collapse onto the subspace ${\ell}^{2}(\mathfrak{C}\setminus \mathcal{B})$ orthonormal to ${\ell}^{2}\left(\mathcal{B}\right)$, which is, into the normalised configuration ${\sum}_{C\notin \mathcal{B}}{(1-p)}^{-\frac{1}{2}}{e}_{C}|C\rangle $,

#### 4.1. The Approach of Bernstein and Vazirani

#### 4.2. The Approach of Deutsch

- 1.
- If the result of the measurement of T gives the value 0, $|\varphi \rangle $ collapses (with a probability equal to ${\sum}_{C\notin {\mathfrak{C}}^{fin}}{\left|{e}_{C}\right|}^{2}$) to the q-configuration$$|{\psi}^{\prime}\rangle =\frac{|T=0\rangle \otimes {\sum}_{C\notin {\mathfrak{C}}^{fin}}{e}_{C}|C\rangle}{\sqrt{{\sum}_{C\notin {\mathfrak{C}}^{fin}}{\left|{e}_{C}\right|}^{2}}}$$
- 2.
- If the result of the measurement of T gives the value 1, $|\varphi \rangle $ collapses (with probability ${\sum}_{D\in {\mathfrak{C}}^{fin}}{\left|{d}_{D}\right|}^{2}$) to$$|{\psi}^{\u2033}\rangle =\frac{|T=1\rangle \otimes {\sum}_{D\in {\mathfrak{C}}^{fin}}{d}_{D}|D\rangle}{\sqrt{{\sum}_{D\phantom{\neg}\in {\mathfrak{C}}^{fin}}{\left|{d}_{D}\right|}^{2}}}$$

#### 4.3. Problems with Deutsch Measurement

- 1.
- $0<\u03f5<1$. In this case, the tape is measured at an intermediate time between ${t}_{n}$ and ${t}_{n+1}$, and the machine is in an intermediate configuration $|{\psi}_{n+\u03f5}\rangle $ between $|{\psi}_{n}\rangle $ and $|{\psi}_{n+1}\rangle $. Because the QTM is defined in terms of the unitary operator ${U}_{\Delta}$, its configurations are well-defined only at time ${t}_{n}$, for $n\in \mathbb{N}$. The quantum configuration $|{\psi}_{n+\u03f5}\rangle $ is therefore unknown and depends on how the unitary operator ${U}_{\Delta}$ is physically realised. In any case, in general it differs from $|{\psi}_{n}\rangle $.
- 2.
- $\u03f5=1$. In this case the second measurement takes place at time ${t}_{n+1}$, on the configuration $|{\psi}_{n+1}\rangle ={U}_{\Delta}|{\psi}_{n}\rangle $. That implies $|{\psi}_{n}\rangle \ne |{\psi}_{n+1}\rangle $, since $|{\psi}_{n}\rangle =|{\psi}_{n+1}\rangle $ may hold only in the trivial case the unitary operator ${U}_{\Delta}$ is the identity and the $|{\psi}_{n}\rangle =|{\psi}_{0}\rangle $, for every n.

#### 4.4. Fixing the Measurement Protocol

Once the halt qubit is set to the state $|T=1\rangle $, the quantum Turing machine no longer changes the halt qubit or the tape string.

If the relevant outcome of the computation is designed to be written by the program in a restricted part of the tape, this condition can be weakened so that the quantum Turing machine may change the part of the tape string except that part of the tape.

Recently, Linden and Popescu [22] claimed that the halt scheme given in [13] is not consistent with unitarity of the evolution operator. However, their argument applies only to the special case in which the whole tape is required not to change after the halt. As suggested in footnote 11 of [13], the conclusion in [13] can be obtained from the weaker condition for the general case where the tape is allowed to change except for the data slot. Linden and Popescu [22] disregarded this case and hence their conclusion is not generally true.

#### 4.5. Our Approach

- 1.
- first of all, we observe the final states of $|\varphi \rangle $, forcing the q-configuration to collapse either into the final q-configuration $|{\varphi}_{f}\rangle /\parallel |{\varphi}_{f}\rangle \parallel $, or into the q-configuration $|{\varphi}_{nf}\rangle /\parallel |{\varphi}_{nf}\rangle \parallel $, which does not contain any final configuration;
- 2.
- then, if the q-configuration collapses into $|{\varphi}_{f}\rangle /\parallel |{\varphi}_{f}\rangle \parallel $, we observe one of these configurations, say $|C\rangle $, which gives us the observed output $\mathbf{val}\left[C\right]=n$, forcing the q-configuration to collapse into the final base q-configuration $({e}_{c}/|{e}_{c}\left|\right)|C\rangle $;
- 3.
- otherwise, we leave unchanged the q-configuration $|{\varphi}_{nf}\rangle /\parallel |{\varphi}_{nf}\rangle \parallel $ obtained after the first observation, and we say that we have observed the special value ⊥.

**Definition**

**17**

- 1.
- either $x=n\in \mathbb{N}$, and$$|\psi \rangle =\frac{{e}_{C}}{|{e}_{C}|}|C\rangle \phantom{\rule{2.em}{0ex}}with\phantom{\rule{2.em}{0ex}}C\in {\mathfrak{C}}^{fin}and\mathbf{val}\left[C\right]=nand{e}_{c}\ne 0$$
- 2.
- or $x=\perp $, and$$|\psi \rangle =\frac{|{\varphi}_{nf}\rangle}{\parallel |{\varphi}_{nf}\rangle \parallel}\phantom{\rule{2.em}{0ex}}where\phantom{\rule{2.em}{0ex}}|{\varphi}_{nf}\rangle =\sum _{C\notin {\mathfrak{C}}^{fin}}{e}_{C}|C\rangle and|{\varphi}_{nf}\rangle \ne 0$$

**Remark**

**7.**

**Remark**

**8.**

**Definition**

**18**

- 1.
- a$\tau $-observed runof M on the initial q-configuration $|\varphi \rangle $ is a sequence $\left\{\right|{\varphi}_{i}\rangle {\}}_{i\in \mathbb{N}}$ s.t.:
- (a)
- $|{\varphi}_{0}\rangle =|\varphi \rangle $;
- (b)
- ${U}_{M}|{\varphi}_{h}{\rangle \downarrow}_{{x}_{i}}|{\varphi}_{h+1}\rangle $, when $h=\tau \left(i\right)$ for some $i\in \mathbb{N}$;
- (c)
- $|{\varphi}_{h+1}\rangle ={U}_{M}|{\varphi}_{h}\rangle $ otherwise.

- 2.
- Afinite $\tau $-observed runof length k is any finite prefix of length $k+1$ of some τ-observed run. Notation: if $R=\left\{\right|{\varphi}_{i}\rangle {\}}_{i\in \mathbb{N}}$, then $R\left[k\right]=\left\{\right|{\varphi}_{i}\rangle {\}}_{i\le k}$.

**Remark**

**9.**

- 1.
- either it never obtains a value $n\in \mathbb{N}$ as the result of an output observation, and then it never reaches a final configuration; and,
- 2.
- or it eventually obtains such a value collapsing the q-configuration into a base final configuration $e|C\rangle $ s.t. $\left|e\right|=1$ and $\mathbf{val}\left[C\right]=n$, and from that point onward all the configurations of the run are base final configurations $e|{C}_{j}\rangle =e\phantom{\rule{0.166667em}{0ex}}{U}^{j}|C\rangle $ s.t. $\mathbf{val}\left[{C}_{j}\right]=n$, and all the following observed outputs are equal to n (see Remark 7).

**Definition**

**19.**

- 1.
- The sequence ${\left\{{x}_{i}\right\}}_{i\in \mathbb{N}}$ s.t. $|{\varphi}_{h}{\rangle \downarrow}_{{x}_{i}}|{\varphi}_{h+1}\rangle $, with $h=\tau \left(i\right)$, is the output sequence of the τ-observed run R.
- 2.
- The observed output of R is the value $x\in \mathbb{N}\cup \left\{\perp \right\}$ (notation: ${R\downarrow}_{x}$) defined by:
- (a)
- $x=n\in \mathbb{N}$, if ${x}_{i}=n$ for some $i\in \mathbb{N}$;
- (b)
- $x=\perp $ otherwise.

- 3.
- For any k, the output sequence of the finite τ-observed run $R\left[\tau \right(k)+1]$ is the finite sequence ${\left\{{x}_{i}\right\}}_{i\le k}$ and ${x}_{k}$ is its observed output.

**Definition**

**20**

- 1.
- For $k\in \mathbb{N}$, the probability of the finite τ-observed run $R\left[k\right]$ is inductively defined by
- (a)
- $\mathsf{Pr}\left\{R\right[0\left]\right\}=1$;
- (b)
- $\mathsf{Pr}\left\{R[k+1]\right\}=\left\{\begin{array}{cc}\mathsf{Pr}\left\{R\left[k\right]\right\}\phantom{\rule{0.166667em}{0ex}}\mathsf{Pr}\left\{\right|{\varphi}_{k}\rangle {\downarrow}_{{x}_{i}}|{\varphi}_{k+1}\rangle \}\hfill & \phantom{\rule{4pt}{0ex}}whenk=\tau \left(i\right)forsomei\in \mathbb{N}\hfill \\ \mathsf{Pr}\left\{R\right[k\left]\right\}\hfill & \phantom{\rule{4pt}{0ex}}otherwise\hfill \end{array}\right.$

- 2.
- $\mathsf{Pr}\left\{R\right\}={lim}_{k\to \infty}\mathsf{Pr}\left\{R\left[k\right]\right\}$.

**Remark**

**10.**

**Definition**

**21**

**Lemma**

**1.**

- 1.
- ${\varphi}_{1,i}={\varphi}_{2,i}$ for $i\le \tau \left(k\right)$, that is, ${R}_{1}\left[\tau \left(k\right)\right]={R}_{2}\left[\tau \left(k\right)\right]$;
- 2.
- for $i>\tau \left(k\right)$, the q-configurations ${\varphi}_{1,i}\ne {\varphi}_{2,i}$ are in two orthonormal subspaces generated by two distinct subsets of $\mathfrak{C}$.

**Proof.**

- 1.
- ${x}_{2}\in \mathbb{N}$ and $|{\psi}_{2,h+1}\rangle ={e}^{\prime}|D,m\rangle $, where D is a final plain configuration and $m\in \mathbb{N}$. As already seen for $|{\psi}_{1,h+1+j}\rangle $, for $j\in \mathbb{N}$, we have $|{\psi}_{2,h+1+j}\rangle ={e}^{\prime}\phantom{\rule{0.166667em}{0ex}}{U}^{j}|D,m\rangle ={e}^{\prime}|D,m+j\rangle $ and ${\mathcal{B}}_{2,j}=\left\{\right|D,m+j\rangle \}$. Therefore, $|C,n+j\rangle \notin {\mathcal{B}}_{2,j}$, since $|C,n+j\rangle \ne |D,m+j\rangle $, for $|C,n\rangle \ne |D,m\rangle $ by construction.
- 2.
- $|{\psi}_{2,h+1}\rangle \in {\ell}^{2}(\mathfrak{C}\setminus {\mathfrak{C}}^{fin})$. Let $|D,m\rangle \in {\mathcal{B}}_{2,j}\cap {\mathfrak{C}}^{fin}$, where D is a plain configuration and $m\in \mathbb{N}$. By induction on j, it is readily seen that $m<j\le n+j$. Thus, $|D,m\rangle \ne |C,n+j\rangle $.

**Lemma**

**2.**

**Proof.**

- 1.
- $k\ne \tau \left(i\right)$, for any i. In this case, there is a bijection between the runs of length k and those of length $k+1$, since each run ${R}^{\prime}\in \mathcal{K}{[k+1]}_{|\varphi \rangle ,\tau}^{M}$ is obtained from a run $R\in \mathcal{K}{\left[k\right]}_{|\varphi \rangle ,\tau}^{M}$ with last q-configuration $|{\psi}_{R}\rangle $, by appending to R the q-configuration $|{\psi}_{{R}^{\prime}}\rangle ={U}_{M}|{\psi}_{R}\rangle $. Moreover, because, by definition, $\mathsf{Pr}\left\{{R}^{\prime}\right\}=\mathsf{Pr}\left\{R\right\}$, we can conclude that$$|{\varphi}_{k+1}\rangle =\sum _{R\in \mathcal{K}{\left[k\right]}_{|\varphi \rangle ,\tau}^{M}}\sqrt{\mathsf{Pr}\left\{R\right\}}\phantom{\rule{0.166667em}{0ex}}{U}_{M}|{\psi}_{R}\rangle =\sum _{{R}^{\prime}\in \mathcal{K}{[k+1]}_{|\varphi \rangle ,\tau}^{M}}\sqrt{\mathsf{Pr}\left\{{R}^{\prime}\right\}}|{\psi}_{{R}^{\prime}}\rangle $$
- 2.
- $k=\tau \left(i\right)$, for some i. In this case, every $R\in \mathcal{K}{\left[k\right]}_{|\varphi \rangle ,\tau}^{M}$ with last q-configuration $|{\psi}_{R}\rangle $ generates a run ${R}^{\prime}$ of length $k+1$ for every output observation $|{\psi}_{R}{\rangle \downarrow}_{x}|{\psi}_{{R}^{\prime}}\rangle $, where ${R}^{\prime}$ is obtained by appending $|{\psi}_{{R}^{\prime}}\rangle $ to R. Therefore, let $R=\left\{\right|{\psi}_{i}\rangle {\}}_{i\le k}\in \mathcal{K}{\left[k\right]}_{|\varphi \rangle ,\tau}^{M}$ and$${\mathcal{B}}_{R}=\{{\left\{{\psi}_{i}\right\}}_{i\le k+1}\mid |{\psi}_{k}\rangle {\downarrow}_{x}|{\psi}_{k+1}\rangle \}$$By applying Definition 17, we easily check that$${U}_{M}|{\psi}_{R}\rangle =\sum _{{R}^{\prime}\in {\mathcal{B}}_{R}}\sqrt{\mathsf{Pr}\left\{\right|{\psi}_{R}\rangle {\downarrow}_{x}|{\psi}_{{R}^{\prime}}\rangle \}}\phantom{\rule{0.166667em}{0ex}}|{\psi}_{{R}^{\prime}}\rangle $$Thus, by substitution, and $\mathsf{Pr}\left\{R\right\}\phantom{\rule{0.166667em}{0ex}}\mathsf{Pr}\left\{\right|{\psi}_{R}\rangle {\downarrow}_{x}|{\psi}_{{R}^{\prime}}\rangle \}=\mathsf{Pr}\left\{{R}^{\prime}\right\}$$$\begin{array}{cc}\hfill |{\varphi}_{k+1}\rangle \phantom{\rule{1.em}{0ex}}& =\sum _{R\in \mathcal{K}{\left[k\right]}_{|\varphi \rangle ,\tau}^{M}}\sqrt{\mathsf{Pr}\left\{R\right\}}\phantom{\rule{0.166667em}{0ex}}{U}_{M}|{\psi}_{R}\rangle \hfill \\ \hfill \phantom{\rule{1.em}{0ex}}& =\sum _{R\in \mathcal{K}{\left[k\right]}_{|\varphi \rangle ,\tau}^{M}}\sum _{{R}^{\prime}\in {\mathcal{B}}_{R}}\sqrt{\mathsf{Pr}\left\{R\right\}}\phantom{\rule{0.166667em}{0ex}}\sqrt{\mathsf{Pr}\left\{\right|{\psi}_{R}\rangle {\downarrow}_{x}|{\psi}_{{R}^{\prime}}\rangle \}}\phantom{\rule{0.166667em}{0ex}}|{\psi}_{{R}^{\prime}}\rangle \hfill \\ \hfill \phantom{\rule{1.em}{0ex}}& =\sum _{{R}^{\prime}\in \phantom{\rule{0.166667em}{0ex}}{\bigcup}_{R\in \mathcal{K}{\left[k\right]}_{|\varphi \rangle ,\tau}^{M}}{\mathcal{B}}_{R}}\sqrt{\mathsf{Pr}\left\{{R}^{\prime}\right\}}\phantom{\rule{0.166667em}{0ex}}|{\psi}_{{R}^{\prime}}\rangle \hfill \\ \hfill \phantom{\rule{1.em}{0ex}}& =\sum _{{R}^{\prime}\in \mathcal{K}{[k+1]}_{|\varphi \rangle ,\tau}^{M}}\sqrt{\mathsf{Pr}\left\{{R}^{\prime}\right\}}\phantom{\rule{0.166667em}{0ex}}|{\psi}_{{R}^{\prime}}\rangle \hfill \end{array}$$

**Theorem**

**4.**

- 1.
- ${\mathbf{P}}_{|{\varphi}_{k}\rangle}\left(n\right)=\mathsf{Pr}\{R\in \mathcal{K}{\left[k\right]}_{|\varphi \rangle ,\tau}^{M}\mid R{\downarrow}_{n}\}$, for $k=\tau \left(i\right)+1$ and $i\in \mathbb{N}$; and,
- 2.
- ${\mathbf{P}}_{{K}_{|\varphi \rangle}^{M}}\left(n\right)=\mathsf{Pr}\{R\in {\mathcal{K}}_{|\varphi \rangle ,\tau}^{M}\mid R{\downarrow}_{n}\}$.

**Proof.**

## 5. A Comparison With Bernstein and Vazirani’s QTMs: Part 2

#### 5.1. QTM Transition Graphs

#### 5.2. A Classical Reversible TM With Quantum Behaviour

#### 5.3. A PD Obtained as a Limit

## 6. Related Works

#### 6.1. On Quantum Extensions of Turing Machines, And of Related Complete Formalisms

- Strictly following the B&V approach, Nishimura and Ozawa [17,24] study the relationship between QTMs and quantum circuits (extending previous results by Yao [25]). They show that there exists a perfect computational correspondence between QTMs and uniform, finitely generated families of quantum circuits. Such a correspondence preserves the quantum complexity classes EQP, BQP, and ZQP.
- Perdrix and Jorrand [26] proposes a new way to deal with quantum extensions of Turing Machines. The basic idea is reminiscent of the quantum-data/classical-control paradigm coined by Selinger [27,28]. In fact, in Perdrix QTM’s, the only quantum component is the tape whereas the control is completely classical.
- Dal Lago, Masini, and Zorzi [3,29,30] extend the quantum-data/classical-control paradigm to a type free quantum $\lambda $-calculus that is proven to be in perfect correspondence with the QTMs of B&V. Following the ideas of the so-called Implicit Computational Complexity, the authors propose an alternative way to deal with the quantum classes EQP, BQP, and ZQP.

#### 6.2. On the Readout Problem

- Myers [31] tries to show that it is not possible to define a truly quantum general computer. The article highlights how the B&V approach fails on truly quantum data. In fact, in such a case, it is impossible to guarantee the synchronous termination of all the computations in superposition. Consequently, the use of a termination bit spoils the quantum superposition of the computation. This defect was well known, and it is for this reason that B&V did not define a general notion of quantum computability, but rather a notion sufficient to solve—in a quantum way—only classical decision problems. Myers’s criticism does not apply to our approach. Our QTMs are fully quantum, and they have an observational protocol of the result that does not depend on the synchronous termination of the computations in superposition.
- In an unpublished note, Kieu and Danos [32] claim that: “For halting, it is desirable of the dynamics to be able to store the output, which is finite in terms of qubit resources, invariantly (that is, unchanged under the unitary evolution) after some finite time when the desirable output has been computed”. Unfortunately, it is not possible to enter into a truly invariant final quantum configuration—only a machine starting in a final configuration and computing the identity can accomplish this constraint. We overcome the problem by introducing a feasible (i.e., correct from a quantum point of view) notion of invariant, w.r.t. the readout, of final configurations. In this way, even if the final configuration changes, the output we read from that configuration does not change.
- In another unpublished note, Linden and Popescu [22] address the problem of how to readout the result of a general quantum computer. The authors write: “We explicitly demonstrate the difficulties that arise in a quantum computer when different branches of the computation halt at different, unknown, times”, implicitly referring to the problems in extending the approach of B&V to general quantum inputs (see again [31], discussed above). In the first part of the work, the authors show that the problem cannot be solved by means of the so-called “ancilla”. The ancilla is an additional information added to the main information encoded by a configuration of the quantum machine. The idea is that, once a final state is reached, the machine keeps modifying the ancilla only. The authors show that the ancilla approach destroys the quantum capabilities of quantum machines, since only classical computations can survive to this treatment of ancilla. Even if reminiscent of the ancilla, our approach is technically different—the problems addressed by Linden and Popescu do not apply—since we carefully tailor the space of the possible configurations of the machines, allowing for the ancilla to play a role only during its final and initial evolution.In the second part of the work, the authors launch a strong attack against the use of termination bit, the solution originally proposed by Deutsch and successively refined by Ozawa [13]. The authors try to argue that the approach that was proposed by Deutsch/Ozawa cannot work. In fact, they show that, even if it is true that once the termination bit is set to 1, it remains firmly with such a value forever, any terminal configuration cannot be frozen, and keeps evolving according to the Hamiltonian of the system. Once again, our proposal does not have the defect depicted in the paper, because, far away to force a final configuration to remain stable, only the readout of a final configuration is stable in our approach.
- Hines [33] shows how to ensure simultaneous coherent halting, provided that termination is guaranteed for a restricted class of quantum algorithms. This kind of approach that is based on coherent halting is intentionally not followed in our paper. Indeed, as previously remarked, we are interested in treating systems which includes, as a particular case, all classical computable functions—we cannot restrict to terminating computations.
- Miyadera and Ohya [34] discuss the notion of probabilistic halting. In particular, “[…] the notion of halting is still probabilistic. That is, a QTM with an input sometimes halts and sometimes does not halt. If one can not get rid of the possibility of such a probabilistic halting, one can not tell anything certain for one experiment since one can not say whether an event of halting or non-halting occurred with probability one or just by accident, say with probability ${10}^{-40}$”. Therefore, they wonder about the existence of any algorithm to decide whether or not a QTM probabilistic halts. With no surprise, they conclude that such an algorithm cannot exist. In fact, because the non-probabilistic halting of a QTM corresponds to the simultaneous halting of all the superposing branchings of its computation, an algorithm deciding the probabilistic halting would decide the simultaneous termination of two classical reversible machines (by combining them into a unique QTM), which is clearly an undecidable problem. In a sense, the question of probabilistic or non-probabilistic halting is irrelevant for our approach. In our QTMs, the result of a computation is defined as a limit, and any computation converges to some result. Accordingly, the only possible readouts that we can get are approximations of such a result. At the same time, because we show that a repeated-measures protocol can retrieve the distribution associated to the output of a computation, we can accept to say that our approach is probabilistic.

## 7. Conclusions and Further Work

## Author Contributions

## Funding

## Conflicts of Interest

## Appendix A. Hilbert Spaces With Denumerable Basis

**Definition**

**A1**

- 1.
- An inner sum $+:{\ell}^{2}\left(\mathcal{B}\right)\times {\ell}^{2}\left(\mathcal{B}\right)\to {\ell}^{2}\left(\mathcal{B}\right)$defined by $(\varphi +\psi )\left(C\right)=\varphi \left(C\right)+\psi \left(C\right)$;
- 2.
- A multiplication by a scalar $\xb7:\mathbb{C}\times {\ell}^{2}\left(\mathcal{B}\right)\to {\ell}^{2}\left(\mathcal{B}\right)$defined by $(a\xb7\varphi )\left(C\right)=a\xb7\left(\varphi \right(C\left)\right)$;
- 3.
- An inner product $\langle \xb7,\xb7\rangle :{\ell}^{2}\left(\mathcal{B}\right)\times {\ell}^{2}\left(\mathcal{B}\right)\to \mathbb{C}$defined by $\langle \varphi ,\psi \rangle ={\sum}_{C\in \mathcal{B}}\varphi {\left(C\right)}^{*}\psi \left(C\right)$ (observe that the condition ${\sum}_{C\in \mathcal{B}}{\left|\varphi \left(C\right)\right|}^{2}<\infty $ implies that ${\sum}_{C\in \mathcal{B}}\varphi {\left(C\right)}^{*}\psi \left(C\right)$ converges for every pair of vectors).
- 4.
- The Euclidian norm is defined as $\parallel \varphi \parallel =\sqrt{\langle \varphi ,\varphi \rangle}$.

**Definition**

**A2**

**Theorem**

**A1.**

**Theorem**

**A2.**

- 1.
- $\mathsf{span}\left(\mathsf{CB}\right(\mathcal{B}\left)\right)$ is a dense subspace of ${\ell}^{2}\left(\mathcal{B}\right)$;
- 2.
- ${\ell}^{2}\left(\mathcal{B}\right)$ is the (unique! up to isomorphism) completion of $\mathsf{span}\left(\mathsf{CB}\right(\mathcal{B}\left)\right)$.

**Definition**

**A3.**

**Definition**

**A4.**

**Theorem**

**A3.**

**Theorem**

**A4.**

#### Appendix A.1. Dirac Notation

mathematical notion | Dirac notation |

inner product $\langle \varphi ,\psi \rangle $ | $\langle \varphi \mid \psi \rangle $ |

vector $\varphi $ | $|\varphi \rangle $ |

dual of vector $\varphi $ | $\langle \varphi |$ |

i.e., the linear application ${d}_{\varphi}$ | |

defined as ${d}_{\varphi}\left(\psi \right)=\langle \varphi ,\psi \rangle $ | note that $\langle \varphi \mid \psi \rangle =\langle \varphi \left|\right(|\psi \rangle )$ |

## Appendix B. Implementation of the Counter

#### Appendix B.1. Extra Symbols

- 1.
- $\langle \alpha ,q,\beta ,i\rangle $
- 2.
- $\langle \alpha \overline{\gamma},{q}_{t},\beta ,i\rangle $
- 3.
- $\langle \alpha ,{q}_{s},\overline{\gamma}\beta ,i\rangle $

- 1.
- $\langle \alpha ,q,\beta ,i\rangle \mapsto \langle \alpha ,q,\beta ,i,0\rangle $
- 2.
- $\langle \alpha \overline{\gamma},{q}_{t},\beta ,i\rangle \mapsto \langle \alpha ,{q}_{t},\gamma \beta ,i-\left|\gamma \right|,\left|\gamma \right|\rangle $
- 3.
- $\langle \alpha ,{q}_{s},\overline{\gamma}\beta ,i\rangle \mapsto \langle \alpha \gamma ,{q}_{s},\beta ,i+\left|\gamma \right|,\left|\gamma \right|\rangle $

#### Appendix B.2. Additional Counter Tape

**Figure A1.**Implementation of the counter by means of a second tape with only one non blank symbol ∗.

- 1.
- When the machine is in a source state ${q}_{s}$, the counter head is on the rightmost ∗ of the counter tape, if $n>0$, or on an empty cell, if $n=0$. If the current counter symbol is a ∗, any transition in the state ${q}_{s}$ replaces such a ∗ with a □, and moves the counter head to the left, until the current counter symbol becomes a □, in which case the machine starts its main evolution.
- 2.
- When the machine is in a target state ${q}_{t}$, the counter head is on the first empty cell of the counter tape to the right of the sequence of ∗. Any transition in the state ${q}_{t}$ replaces then the □ in the current counter cell with a ∗, and moves the counter head to the right.
- 3.
- When the state is neither a source nor a target state, the counter tape is empty, and any transition leaves the counter tape unchanged.

## References

- Backus, J.W. The Syntax and Semantics of the Proposed International Algebraic Language of the Zurich ACM-GAMM Conference. In Proceedings of the 1st International Conference on Information Processing, UNESCO, Paris, France, 15–20 June 1959; pp. 125–132. [Google Scholar]
- McCarthy, J. A Basis for a Mathematical Theory of Computation. In Computer Programming and Formal Systems; Studies in Logic and the Foundations of Mathematics Series, Braffort, P., Hirschberg, D., Eds.; North-Holland Publishing Company, Elsevier B.V.: Amsterdam, The Netherlands, 1963; Volume 35, pp. 33–70. [Google Scholar]
- Dal Lago, U.; Masini, A.; Zorzi, M. Confluence Results for a Quantum Lambda Calculus with Measurements. Electron. Notes Theor. Comput. Sci.
**2011**, 270, 251–261. [Google Scholar] [CrossRef][Green Version] - Dal Lago, U.; Zorzi, M. Wave-Style Token Machines and Quantum Lambda Calculi. In Proceedings of the Third International Workshop on Linearity, LINEARITY 2014, Vienna, Austria, 13 July 2014; Alves, S., Cervesato, I., Eds.; Open Publishing Association: Waterloo, Australia, 2014; Volume 176, pp. 64–78. [Google Scholar] [CrossRef]
- Zorzi, M. On quantum lambda calculi: A foundational perspective. Math. Struct. Comput. Sci.
**2016**, 26, 1107–1195. [Google Scholar] [CrossRef] - Viganò, L.; Volpe, M.; Zorzi, M. A branching distributed temporal logic for reasoning about entanglement-free quantum state transformations. Inf. Comput.
**2017**, 255, 311–333. [Google Scholar] [CrossRef][Green Version] - Paolini, L.; Roversi, L.; Zorzi, M. Quantum programming made easy. In Proceedings of the Joint International Workshop on Linearity & Trends in Linear Logic and Applications, [email protected] 2018, Oxford, UK, 7–8 July 2018; Ehrhard, T., Fernández, M., de Paiva, V., de Falco, L.T., Eds.; Open Publishing Association: Waterloo, Australia, 2018; Volume 292, pp. 133–147. [Google Scholar] [CrossRef]
- Masini, A.; Zorzi, M. A Logic for Quantum Register Measurements. Axioms
**2019**, 8, 25. [Google Scholar] [CrossRef][Green Version] - Paolini, L.; Piccolo, M.; Zorzi, M. QPCF: Higher-Order Languages and Quantum Circuits. J. Autom. Reason.
**2019**, 63, 941–966. [Google Scholar] [CrossRef][Green Version] - Deutsch, D. Quantum theory, the Church-Turing principle and the universal quantum computer. Proc. R. Soc. Lond. Ser. A
**1985**, A400, 97–117. [Google Scholar] - Benioff, P. The computer as a physical system: A microscopic quantum mechanical Hamiltonian model of computers as represented by Turing machines. J. Stat. Phys.
**1980**, 22, 563–591. [Google Scholar] [CrossRef] - Bernstein, E.; Vazirani, U. Quantum Complexity Theory. SIAM J. Comput.
**1997**, 26, 1411–1473. [Google Scholar] [CrossRef] - Ozawa, M. Quantum Nondemolition Monitoring of Universal Quantum Computers. Phys. Rev. Lett.
**1998**, 80, 631–634. [Google Scholar] [CrossRef][Green Version] - Davis, M. Computability and Unsolvability; McGraw-Hill Series in Information Processing and Computers; McGraw-Hill Book Co. Inc.: New York, NY, USA, 1958. [Google Scholar]
- Conway, J.B. A Course in Functional Analysis, 2nd ed.; Graduate Texts in Mathematics Series; Springer: New York, NY, USA, 1990; Volume 96, xvi+399p. [Google Scholar]
- Roman, S. Advanced Linear Algebra, 3rd ed.; Graduate Texts in Mathematics Series; Springer: New York, NY, USA, 2008; Volume 135, xviii+522p. [Google Scholar]
- Nishimura, H.; Ozawa, M. Computational complexity of uniform quantum circuit families and quantum Turing machines. Theor. Comput. Sci.
**2002**, 276, 147–181. [Google Scholar] [CrossRef][Green Version] - Ozawa, M.; Nishimura, H. Local transition functions of quantum Turing machines. Theor. Inform. Appl.
**2000**, 34, 379–402. [Google Scholar] [CrossRef][Green Version] - Bennett, C.H. Logical reversibility of computation. IBM J. Res. Dev.
**1973**, 17, 525–532. [Google Scholar] [CrossRef] - Kaye, P.; Laflamme, R.; Mosca, M. An Introduction to Quantum Computing; Oxford University Press: Oxford, UK, 2007; xii+274p. [Google Scholar]
- Isham, C.J. Lectures on Quantum Theory. Mathematical and Structural Foundations; Imperial College Press: London, UK, 1995; xii+220p. [Google Scholar]
- Linden, N.; Popescu, S. The Halting Problem for Quantum Computers. arXiv
**1998**, arXiv:quant-ph/9806054. [Google Scholar] - Ozawa, M. Halting of Quantum Turing Machines. In Unconventional Models of Computation; Springer: Berlin/Heidelberg, Germany, 2002; pp. 58–65. [Google Scholar]
- Nishimura, H.; Ozawa, M. Perfect computational equivalence between quantum Turing machines and finitely generated uniform quantum circuit families. Quantum Inf. Process.
**2009**, 8, 13–24. [Google Scholar] [CrossRef][Green Version] - Yao, A. Quantum Circuit Complexity. In Proceedings of the 34th Annual Symposium on Foundations of Computer Science, Palo Alto, CA, USA, 3–5 November 1993; IEEE Press: Los Alamitos, CA, USA, 1993; pp. 352–360. [Google Scholar]
- Perdrix, S.; Jorrand, P. Classically controlled quantum computation. Math. Struct. Comput. Sci.
**2006**, 16, 601–620. [Google Scholar] [CrossRef][Green Version] - Selinger, P. Towards a Quantum Programming Language. Math. Struct. Comput. Sci.
**2004**, 14, 527–586. [Google Scholar] [CrossRef][Green Version] - Selinger, P.; Valiron, B. A lambda calculus for quantum computation with classical control. Math. Struct. Comput. Sci.
**2006**, 16, 527–552. [Google Scholar] [CrossRef][Green Version] - Dal Lago, U.; Masini, A.; Zorzi, M. On a Measurement-Free Quantum Lambda Calculus with Classical Control. Math. Struct. Comput. Sci.
**2009**, 19, 297–335. [Google Scholar] [CrossRef] - Dal Lago, U.; Masini, A.; Zorzi, M. Quantum implicit computational complexity. Theor. Comput. Sci.
**2010**, 411, 377–409. [Google Scholar] [CrossRef][Green Version] - Myers, J.M. Can a universal quantum computer be fully quantum? Phys. Rev. Lett.
**1997**, 78, 1823–1824. [Google Scholar] [CrossRef] - Kieu, T.D.; Danos, M. The Halting problem for universal quantum computers. arXiv
**1998**, arXiv:quant-ph/9811001. [Google Scholar] - Hines, P. Quantum circuit oracles for Abstract Machine computations. Theor. Comput. Sci.
**2010**, 411, 1501–1520. [Google Scholar] [CrossRef][Green Version] - Miyadera, T.; Ohya, M. On Halting Process of Quantum Turing Machine. Open Syst. Inf. Dyn.
**2005**, 12, 261–264. [Google Scholar] [CrossRef][Green Version]

© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).

## Share and Cite

**MDPI and ACS Style**

Guerrini, S.; Martini, S.; Masini, A. Quantum Turing Machines: Computations and Measurements. *Appl. Sci.* **2020**, *10*, 5551.
https://doi.org/10.3390/app10165551

**AMA Style**

Guerrini S, Martini S, Masini A. Quantum Turing Machines: Computations and Measurements. *Applied Sciences*. 2020; 10(16):5551.
https://doi.org/10.3390/app10165551

**Chicago/Turabian Style**

Guerrini, Stefano, Simone Martini, and Andrea Masini. 2020. "Quantum Turing Machines: Computations and Measurements" *Applied Sciences* 10, no. 16: 5551.
https://doi.org/10.3390/app10165551