The purpose of quantum computing focuses on building an information theory with the features of
quantum mechanics: instead of encoding a binary unit of information (
bit), which can be switched to 1 or 0, a quantum binary unit of information (qubit) can simultaneously turn to be 0 and 1 at the same time, thanks to the phenomenon called
superposition. Another key feature for quantum computing relies on the
entanglement between the qubits. s (unitary operators) which act on the register of qubits. In the
MBQC frame, the logic gates are performed by entangling the qubits and measuring the auxiliary ones. In the
quantum logic gate model, a set of qubits, called register, is prepared at the beginning of the computation, then a set of logic operations over the qubits, carried by
unitary operators, is implemented. A quantum circuit is formed by a register of qubits on which unitary transformations are applied over the qubits. In the measurement-based quantum computation, instead of implementing a logic operation via unitary transformations, the same operation is executed by entangling a number k of input qubits with a cluster of a
ancillary qubits, forming an overall source state of a+k=n qubits, and then measuring a number m of them. The remaining k=n-a output qubits will be affected by the measurements because of the entanglement with the measured qubits. The one-way computer has been proved to be a universal quantum computer, which means it can reproduce any unitary operation over an arbitrary number of qubits.
General procedure The standard process of measurement-based quantum computing consists of three steps: entangle the qubits, measure the ancillae (auxiliary qubits) and correct the outputs. In the first step, the qubits are entangled in order to prepare the source state. In the second step, the ancillae are measured, affecting the state of the output qubits. However, the measurement outputs are non-deterministic result, due to undetermined nature of quantum mechanics: : |+\rangle = \tfrac{| 0 \rangle + | 1 \rangle}{\sqrt{2}}, where | 0 \rangle and | 1 \rangle are the quantum encoding for the classical 0 and 1 bits: : | 0 \rangle = \begin{pmatrix} 1 \\ 0 \end{pmatrix};\quad | 1 \rangle = \begin{pmatrix} 0 \\ 1 \end{pmatrix} . A register with n qubits will be therefore set as | + \rangle^{\otimes n} . Thereafter, the entanglement between two qubits can be performed by applying a (Controlled) CZ gate operation. The matrix representation of such two-qubits operator is given by : CZ =\begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & -1 \end{bmatrix}. The action of a CZ gate over two qubits can be described by the following system: : \begin{cases} CZ | 0+ \rangle = | 0+ \rangle \\ CZ | 0- \rangle = | 0- \rangle \\ CZ | 1+ \rangle = | 1- \rangle \\ CZ | 1- \rangle = | 1+ \rangle \end{cases} When applying a CZ gate over two ancillae in the |+ \rangle state, the overall state :CZ| ++ \rangle = \frac{| 0+ \rangle + | 1- \rangle}{\sqrt{2}} turns to be an entangled pair of qubits. When entangling two ancillae, no importance is given about which is the control qubit and which one the target, as far as the outcome turns to be the same. Similarly, as the CZ gates are represented in a diagonal form, they all commute each other, and no importance is given about which qubits to entangle first. Photons are the most common qubit system that is used in the context of one-way quantum computing. However, deterministic CZ gates between photons are difficult to realize. Therefore, probabilistic entangling gates such as
Bell state measurements are typically considered. Furthermore, quantum emitters such as atoms or
quantum dots can be used to create deterministic entanglement between photonic qubits.
Measuring the qubits The process of measurement over a single-particle state can be described by projecting the state on the eigenvector of an observable. Consider an observable O with two possible eigenvectors, say | o_1 \rangle and | o_2 \rangle, and suppose to deal with a multi-particle quantum system | \Psi \rangle. Measuring the i-th qubit by the O observable means to project the | \Psi \rangle state over the eigenvectors of O: The byproduct operators which can be implemented are X and Z. Depending on the outcome of the measurement, a byproduct operator can be applied or not to the output state: a X correction over the j-th qubit, depending on the outcome of the measurement performed over the i-th qubit via the M(\theta) observable, can be described as X_j^{s_i}, where s_i is set to be 0 if the outcome of measurement was | \theta_+ \rangle, otherwise is 1 if it was | \theta_- \rangle. In the first case, no correction will occur, in the latter one a X operator will be implemented on the j-th qubit. Eventually, even though the outcome of a measurement is not deterministic in quantum mechanics, the results from measurements can be used in order to perform corrections, and carry on a deterministic computation. ==
CME pattern==