Lably
Skip to content

One-way quantum computer

Method of quantum computing

  • 12 min read
  • 5 chapters

Related on Lably

Through Photon, Graph (discrete mathematics) and Spin (physics)

The outcome of each individual measurement is random, but they are related in such a way that the computation always succeeds. In general, the choices of basis for later measurements need to depend on the results of earlier measurements, and hence the measurements cannot all be performed at the same time.

The implementation of MBQC is mainly considered for photonic devices, due to the difficulty of entangling photons without measurements, and the simplicity of creating and measuring them. However, MBQC is also possible with matter-based qubits. The process of entanglement and measurement can be described with the help of graph tools and group theory, in particular by the elements from the stabilizer group.

Definition

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.

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: in order to carry on the computation in a deterministic way, some correction operators, called byproducts, are introduced.

Preparing the source state

At the beginning of the computation, the qubits can be distinguished into two categories: the input and the ancillary qubits. The inputs represent the qubits set in a generic |ψ⟩=α|0⟩+β|1⟩ state, on which some unitary transformations are to be acted. In order to prepare the source state, all the ancillary qubits must be prepared in the |+⟩ state:

|+⟩=|0⟩+|1⟩2,

where |0⟩ and |1⟩ are the quantum encoding for the classical 0 and 1 bits:

|0⟩=(10);|1⟩=(01).

A register with n qubits will be therefore set as |+⟩⊗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=[100001000010000−1].

The action of a CZ gate over two qubits can be described by the following system:

{CZ|0+⟩=|0+⟩CZ|0−⟩=|0−⟩CZ|1+⟩=|1−⟩CZ|1−⟩=|1+⟩

When applying a CZ gate over two ancillae in the |+⟩ state, the overall state

CZ|++⟩=|0+⟩+|1−⟩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 |o1⟩ and |o2⟩, and suppose to deal with a multi-particle quantum system |Ψ⟩. Measuring the i-th qubit by the O observable means to project the |Ψ⟩ state over the eigenvectors of O:

|Ψ′⟩=|oi⟩⟨oi|Ψ⟩.

The actual state of the i-th qubit is now |oi⟩, which can turn to be |o1⟩ or |o2⟩, depending on the outcome from the measurement (which is probabilistic in quantum mechanics). The measurement projection can be performed over the eigenstates of the M(θ)=cos⁡(θ)X+sin⁡(θ)Y observable:

M(θ)=cos⁡(θ)[0110]+sin⁡(θ)[0−ii0]=[0e−iθeiθ0],

where X and Y belong to the Pauli matrices. The eigenvectors of M(θ) are |θ±⟩=|0⟩±eiθ|1⟩. Measuring a qubit on the X-Y plane, i.e. by the M(θ) observable, means to project it over |θ+⟩ or |θ−⟩. In the one-way quantum computing, once a qubit has been measured, there is no way to recycle it in the flow of computation. Therefore, instead of using the |oi⟩⟨oi| notation, it is common to find ⟨oi| to indicate a projective measurement over the i-th qubit.

Correcting the output

After all the measurements have been performed, the system has been reduced to a smaller number of qubits, which form the output state of the system. Due to the probabilistic outcome of measurements, the system is not set in a deterministic way: after a measurement on the X-Y plane, the output may change whether the outcome had been |θ+⟩ or |θ−⟩. In order to perform a deterministic computation, some corrections must be introduced. The correction operators, or byproduct operators, are applied to the output qubits after all the measurements have been performed. 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(θ) observable, can be described as Xjsi, where si is set to be 0 if the outcome of measurement was |θ+⟩, otherwise is 1 if it was |θ−⟩. 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.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Computing and communication