Glossary

From Quantum Protocol Zoo
Revision as of 07:20, 9 May 2019 by Shraddha (talk | contribs)
Jump to navigation Jump to search

Quantum computation is marked by a set of unitary matrices (quantum gates) acting on qubit states followed by measurement. The most used representation is the circuit model of computation, comprising straight lines and boxes. The horizontal lines represent qubits and boxes represent single qubit unitary gates. A two qubit unitary gate links one qubit from another via vertical lines. Some useful notations are given below.

Quantum States


  • Bell/ EPR pairs:
  • GHZ States:
  • W States:

Unitary Operations

  • X (NOT gate):
  • Z (Phase gate):

Thus, , are eigenstates of Z gate and , are eigenstates of X gate.

  • H (Hadamard gate): or

  • Controlled-U(CU): uses two inputs, control qubit and target qubit. It operates U on the second(target) qubit only when the first (source) qubit is 1. C-U gates are used to produce entangled states, when the target qubit is and control qubit is not an eigenstate of U. In the given equation 'i' denotes the source qubit and 'j', the target qubit. Following are two important C-U gates.


The commutation relations for the above gates are as follows:

Hierarchy of Quantum Gates

There are different class of quantum gates as follows,

  • Pauli Gates(U): Single Qubit Gates I (Identity), X, Y, Z. All the gates in this set follow
  • Clifford Gates(C): Pauli Gates, Phase Gate, C-NOT. This set of gates can be simulated on classical computer. All the gates in this set follow CU=U'C, where U and U' are two different Pauli gates depending on C
  • Universal Set of gates: This set consists of all Clifford gates and one Non-Clifford gate (T gate). If a model can realise Universal Set of gates, it can imlement any quantum computation efficiently. T gates follow , where P is the phase gate and U, U' are any two Pauli gates depending on C. Parameter is obtained from U, such that , .

To summarize, if P, C, T, then

Magic States

It is any state that, if you have an unlimited supply of them, can be used to give you universal quantum computation when used in conjunction with perfect Clifford operations. The standard example is that if you can produce the state , then you can combine this with Clifford operations in order to apply a T gate, and we know that T+Clifford is universal.

Universal Resource

A set of states on which applying Clifford operations is enough for universal quantum computation.

Gate Teleportation

The idea comes from one-qubit teleporation. This means that one can transfer an unknown qubit |ψi without actually sending it via a quantum channel. The underlying equations explain the notion. See Figure 1 for circuit.

Figure 1: One Bit Teleportation



Similarly if we have the input state rotated by a gate the circuit would look like Figure 2a. As the rotation gate commutes with Controlled-Phase gate. Hence, Figure 2b is justified.

  • 2(a)Modified Input
  • 2(b)Gate Teleportation


This shows that for a pair of entangled qubits, if the second qubit is in state (not an eigen value of ) then one can teleport (transfer) the first qubit state operated by any unitary gate to the second qubit by performing operations only on the first qubit and measuring it. Next, we would need to make certain Pauli corrections (in this case ) to obtain . In other words, we can say the operated state is teleported to the second qubit by a rotated basis measurement of the first qubit with additional Pauli corrections.

Graph states

The above operation can also be viewed as a graph state with two nodes and one edge. The qubit 1 is measured in a rotated basis , thus leaving qubit 2 in desired state and Pauli Correction , where is the measurement outcome of qubit 1. See Figure 3

Figure 3: Graph State for Single Qubit Gates

Now, suppose we need to operate the state with two unitary gates and . This can be done by taking the output state of gate as the input state of gate and then repeating gate teleportation for this setup, as described above. Thus, following the same pattern for graph states we have now three nodes (two measurement qubits for two operators and one output qubit) with two edges, entangled as one dimensional chain (See Figure 4).

Figure 4: Gate Teleporation for Multiple Single Qubit Gates

The measurement on qubit will operate on qubits and . If qubit when measured in the given basis yields outcome , qubit results in the following state . Using the relation we shift all the Pauli corrections to one end i.e. qubit becomes (). This method of computation requires sequential measurement of states i.e. all the states should not be measured simultaneously. As outcome of qubit can be used to choose sign of . This technique is also known as adaptive measurement. With each measurement, the qubits before the one measured at present have been destroyed by measurement. It is a feed-forward mechanism, hence known as one way quantum computation.

Measurement Based Quantum Computation (MBQC)

MBQC is a formalism used for quantum computation by operating only single qubit measurements on a fixed set of entangled states, also known as graph states. Graph states denote any graph where each node represents a quantum state, and the edges denote entanglement between any two vertices. The measurement on successive layers of qubits is decided by previous measurement outcomes. Outcomes of last qubit layer gives the result of concerned computation. Following, we illustrate certain primitives necessary to understand the working of MBQC.

Cluster States

In case of multi-qubit quatum circuits, one needs a 2-dimensional graph state. Cluster State is a square lattice used as substrate for such computation. All the nodes are in entangled by indicated by the edges. It is known to be universal i.e. it can simulate any quatum gate.

Figure 5: Cluster State

Each row would thus represent the teleporation of starting qubit in that row horizontally. On the other hand, vertical edges indicate different input qubits linked with multi-qubit gates (same as circuit model). For example, see Figure Figure 6 to understand the conversion from circuit model to graph state model. As the computation relation follows , thus, Figure Figure 6a represents Circuit diagram for gate in terms of gate and Single Qubit Gate .

  • (a)Circuit Diagram to implement C-NOT
  • (b)Graph State Pattern for C-NOT
  • Figure 6: Measurement Pattern from Circuit Model


Figure 6b shows implementation of the first Hadamard gate on the second input state as measurement on qubit . Then gate is implemented by the entangled qubits and in the graph state. Qubit is entangled to another qubit to record the output while measurement on qubit implements the second Hadamard gate. Finally, the states to which qubits and are reduced to determine the output states of the two input qubits after gate operation.
It is evident that one needs to remove certain nodes from the cluster state in order to implement the above shown graph state. This can be done by Z-basis measurements. Such measurements would leave the remaining qubits in the cluster state with extra Pauli corrections. This can be explained as follows. Consider a two-dimesional graph state . If qubit is to be eliminated, we operate with as target and as control.



Thus, if measurement on yields , qubit would be in the state . Hence, such Z-basis measurements invoke an extra Pauli correction on all the neighbouring sites of 1 with 1 eliminated, in the resulting graph state. Thus, to summarise, we design a measurement pattern from gate teleportation circuit of the desired computation as shown above. The cluster state is converted into the required graph state by Z-basis measurement on extraneous sites. Measuring all the qubits in the required basis and we get the required computation in the form of classical outcome register from measurement of the last layer of qubits. If it is a quantum function, the last layer of qubits is the output quantum register.

Brickwork States

Although cluster states are universal for MBQC, yet we need to tailor these to the specific computation by performing some computational (Z) basis measurements. If we were to use this principle for blind quantum computing, Client would have to reveal information about the structure of the underlying graph state. Thus, for the UBQC protocol, we introduce a new family of states called the Brickwork states which are universal for X − Y plane measurements and thus do not require the initial computational basis measurements. It was later shown that the Z-basis measurements can be dropped for cluster states and hence cluster states are also universal in X-Y measurements.

Figure 7: Brickwork State

Definition 1 A brickwork state Gn×m, where m ≡ 5 (mod 8), is an entangled state of n × m qubits constructed as follows (see also Figure 7):

  1. Prepare all qubits in state |+i and assign to each qubit an index (i,j), i being a column (i ∈ [n]) and j being a row (j ∈ [m]).
  2. For each row, apply the operator c-Z on qubits (i,j) and (i,j + 1) where 1 ≤ j ≤ m − 1.
  3. For each column j ≡ 3 (mod 8) and each odd row i, apply the operator c-Z on qubits (i,j) and (i + 1,j) and also on qubits (i,j + 2) and (i + 1,j + 2).
  4. For each column j ≡ 7 (mod 8) and each even row i, apply the operator c-Z on qubits (i,j) and (i + 1,j) and also on qubits (i,j + 2) and (i + 1,j + 2).