Editing Glossary

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
===Quantum States===
===Quantum States===
*<math>|+\rangle=\frac{1}{\sqrt{2}}(|0\rangle+|1\rangle),\quad |-\rangle=\frac{1}{\sqrt{2}}(|0\rangle-|1\rangle)</math></br>
*<math>|+\rangle=\frac{1}{\sqrt{2}}(|0\rangle+|1\rangle),\quad |-\rangle=\frac{1}{\sqrt{2}}(|0\rangle-|1\rangle)</math></br>
*'''X basis/Diagonal basis/x basis:''' <math>\{|+\rangle,|-\rangle\}</math>
*Bell/ EPR pairs:
*'''Z basis/Rectilinear basis/+ basis:''' <math>\{|0\rangle,|1\rangle\}</math>
*GHZ States:
 
*W States:
===Unitary Operations===
===Unitary Operations===
*<math>\text{X (NOT gate)}</math>:  <math>X|0\rangle\,\to\,\ |1\rangle,\quad X|1\rangle\,\to\,\ |0\rangle,\quad X|+\rangle\,\to\,\ |+\rangle,\quad *X|-\rangle\,\to\,\ -|-\rangle</math>
*X (NOT gate):  <math>X|0\rangle\,\to\,\ |1\rangle,\quad X|1\rangle\,\to\,\ |0\rangle,\quad X|+\rangle\,\to\,\ |+\rangle,\quad *X|-\rangle\,\to\,\ -|-\rangle</math>
*<math>\text{Z}</math>: <math>Z|+\rangle \,\to\,\ |-\rangle,\quad Z|-\rangle \,\to\,\ |+\rangle,\quad Z|0\rangle \,\to\,\ |0\rangle,\quad Z|1\rangle \,\to\,\ -|1\rangle </math></br>
*Z (Phase gate): <math>Z|+\rangle \,\to\,\ |-\rangle,\quad Z|-\rangle \,\to\,\ |+\rangle,\quad Z|0\rangle \,\to\,\ |0\rangle,\quad Z|1\rangle \,\to\,\ -|1\rangle </math></br>
Thus, <math>|0\rangle </math>, <math>|1\rangle </math> are eigenstates of Z gate and <math>|+\rangle</math>, <math>|-\rangle </math> are eigenstates of X gate.
Thus, <math>|0\rangle </math>, <math>|1\rangle </math> are eigenstates of Z gate and <math>|+\rangle</math>, <math>|-\rangle </math> are eigenstates of X gate.
*<math>\text{H (Hadamard gate)}</math>: <math>H|0\rangle \,\to\,\ |+\rangle </math> or  <math>H|1\rangle \,\to\,\ |-\rangle </math>
*H (Hadamard gate): <math>H|0\rangle \,\to\,\ |+\rangle </math> or  <math>H|1\rangle \,\to\,\ |-\rangle </math>
*<math>\text{P (Phase Gate)}</math>: Gates in this class operate on a single qubit. They are represented by 2 x 2 matrices of the form <math>R(\theta)</math>, as shown below. Here <math>\theta</math> is the phase shift.


<math>R(\theta)=
<math>X=
  \left[ {\begin{array}{cc}
  1 & 0 \\
  0 & e^{i\theta} \\
  \end{array} }\right],\quad
X=
   \left[ {\begin{array}{cc}
   \left[ {\begin{array}{cc}
   0 & 1 \\
   0 & 1 \\
Line 33: Line 27:
   \end{array} }\right]\quad
   \end{array} }\right]\quad
</math>
</math>
*<math>\text{Controlled-U(CU)}</math>:  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 <math>|+\rangle</math> 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.
*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 <math>|+\rangle</math> 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.
<math>
<math>
\text{Controlled-NOT(C-X or CNOT): }CX_{ij}|+\rangle_i|0\rangle_j\,\to\,\ \frac{1}{\sqrt{2}} (|0_i0_j\rangle+|1_i1_j\rangle)</math></br>
\text{Controlled-NOT(CX or CNOT): }CX_{ij}|+\rangle_i|0\rangle_j\,\to\,\ \frac{1}{\sqrt{2}} (|0_i0_j\rangle+|1_i1_j\rangle)</math></br>
<math>\text{Controlled-Z (C-Z):}CZ_{ij}|+\rangle_i|+\rangle_j\,\to\,\ \frac{1}{\sqrt{2}} (|0_i+_j\rangle+|1_i-_j\rangle)</math>
<math>\text{Controlled-Phase(CZ): }CZ_{ij}|+\rangle_i|+\rangle_j\,\to\,\ \frac{1}{\sqrt{2}} (|0_i+_j\rangle+|1_i-_j\rangle)</math>


The commutation relations for the above gates are as follows:</br>
The commutation relations for the above gates are as follows:</br>
Line 47: Line 41:
*'''Pauli Gates(U):''' Single Qubit Gates I (Identity), X, Y, Z. All the gates in this set follow <math>U^2=I</math>
*'''Pauli Gates(U):''' Single Qubit Gates I (Identity), X, Y, Z. All the gates in this set follow <math>U^2=I</math>
*'''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
*'''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 <math>UT=P^aU'T</math>, where P is the phase gate and U, U' are any two Pauli gates depending on T. Parameter <math>a\in \{0,1\}</math> is obtained from U, such that <math>P^0=I</math>, <math>P^1=P</math>.</br>
*'''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 <math>UT=P^aU'T</math>, where P is the phase gate and U, U' are any two Pauli gates depending on C. Parameter <math>a\epsilon{0,1}</math> is obtained from U, such that <math>P^0=I</math>, <math>P^1=P</math>.</br>
To summarize, if <math>C^1=</math>P, <math>C^2=</math>C, <math>C^3=</math>T, then <math>C^{k}=\{U:UQU=C^{k-1}|Q\in C^1\}</math>
To summarize, if <math>C^1=</math>P, <math>C^2=</math>C, <math>C^3=</math>T, then <math>C^{k}=\{U:UQU=C^{k-1}|Q\epsilon C^1\}</math>


===Magic States===
===Magic States===
Line 55: Line 49:
===Universal Resource===
===Universal Resource===
A set of <math>|+_\theta\rangle </math>states on which applying Clifford operations is enough for universal quantum computation.
A set of <math>|+_\theta\rangle </math>states on which applying Clifford operations is enough for universal quantum computation.
===Superposition===
Superposition is a fundamental concept in quantum mechanics which states if two states <math>|\psi\rangle</math> and <math>|\phi\rangle</math> are representing two valid state in a Hilbert space, their linear combination exist in the same Hilbert space as well and refer to another valid states. We call state <math>\alpha|\psi\rangle + \beta|\phi\rangle</math> a superposition of the two states. This property leads to most of the non-classical properties of quantum mechanics such as entanglement.
===Entangled States===
An entangled state is the quantum state of a group of particled (or a two party or multiparty system) that cannot be described as the independent states of these particles (or subsystems). The subsystems of such a quantum state, have quantum correlation even over a long distance. Mathematically, a multiparty entangled state cannot be written in following way:<br/>
<math>|\psi_{1-N}\rangle = |\psi_1\rangle \otimes ... \otimes |\psi_N\rangle</math><br/>
The states that can be written in the above from, are called separable states.
===EPR Pairs===
EPR pairs refer to the pairs of particles with a conjugate physical property such as angular momentum. This concept has been introduced for the first time by the EPR (Einstein–Podolsky–Rosen) paradox which is a thought experiment challenging the explanation of physical reality provided by Quantum Mechanics.
The particles that have been used in the EPR paradox had perfect correlation in such a way that measuring a quantity of a particle A will cause the conjugated quantity of particle B to become undetermined, even if there was no contact, no classical disturbance. A two party quantum state with above property can be described with the following state:<br/>
<math>|\Phi^+\rangle = \frac{1}{sqrt{2}} (|00\rangle + |11\rangle)</math><br/>
This is one of the Bell states.
===Bell States===
Bell states are maximally-entangled two-qubit states. These are the states that violate the Bell's inequality with maximal value of <math>2\sqrt{2}</math>. These states make a compelete basis for the two-qubit (4 dimensional) Hilbert space:<br/>
<div style='text-align: center;'>
<math>|\Phi^{+}\rangle = \frac{1}{\sqrt{2}}(|0\rangle_{A}\otimes |0\rangle_{B}+|1\rangle_{A}\otimes |1\rangle_{B}) </math></br>
<math>|\Phi ^{-}\rangle =\frac{1}{\sqrt{2}}(|0\rangle_{A}\otimes |0\rangle_{B}-|1\rangle_{A}\otimes |1\rangle_{B}) </math></br>
<math>|\Psi ^{+}\rangle =\frac{1}{\sqrt{2}}(|0\rangle_{A}\otimes |1\rangle_{B}+|1\rangle_{A}\otimes |0\rangle_{B}) </math></br>
<math>|\Psi ^{-}\rangle =\frac{1}{\sqrt{2}}(|0\rangle_{A}\otimes |1\rangle_{B}-|1\rangle_{A}\otimes |0\rangle_{B}) </math><br/></div>
===Bell State Measurement===
Bell state measurement is termed as the projection of two qubits into one of the four Bell States as described above. It is done operating a Hadamard gate on one qubit and then, operating a C-NOT gate with this qubit as control and the other qubit as target.
More on BSM can be found in [https://www.iqst.ca/media/pdf/publications/ucalgary_2017_valivarthi_venkataramanaraju.pdf]


===Density Matrices===
===Fidelity===
===Fidelity===
The Fidelity is a quantum distance measure between two quantum states. For two general state $\rho$ and $\sigma$ it is defined as followes:<br/><br/>
===Superposition===
<math>F(\rho, \sigma) = [Tr(\sqrt{\sqrt{\rho}\sigma\sqrt{\rho}})]^2</math><br/>
The definition reduces to the squared overlap between the pure states <math>|\psi_{\rho}\rangle$ and $|\psi_{\sigma}\rangle</math>:<br/>
<math>F(|\psi_{\rho}\rangle, |\psi_{\sigma}\rangle) = |\langle\psi_{\rho}|\psi_{\sigma}\rangle|^2</math>
 
===Density Matrix, Pure and Mixed states===
A density matrix is the matrix representation of a statistical state in quantum mechanics. This is a useful representation for mixed states. The mixed states are the states which cannot be described with a single vector $|\psi\rangle$ in Hilbert space. Instead, they are statistical mixture of several pure states. These states are also useful for describing the quantum state of a subsystem of a multi-party or larger quantum sysytem where the overall state can be shown as pure states. a density matrix in general can be shown as:<br/><br/>
<math>\rho = \sum_{i} p_i |\psi_i\rangle\langle\psi_i|</math><br/>
where <math>|\psi_i\rangle</math> are pure states and <math>p_i</math> are the relative probabilities. For a pure quantum state <math>|\psi\rangle</math> the density matrix representation will be:<br/>
<math>\rho = |\psi\rangle\langle\psi|</math>
 
===Unitary transformation===
A unitary transformation is an isomorphism between two Hilbert spaces, These transformation preserve the inner products of the vector states and can be shown as matrices where <math>UU^{\dagger} = U^{\dagger}U = I</math>.
 
===Monogomy of entanglement===
Monogamy is one of the most fundamental properties of entanglement and can, in its extremal form, be expressed as follows: If two qubits A and B are maximally quantumly correlated they cannot be correlated at all with a third qubit C. In general, there is a trade-off between the amount of entanglement between qubits A and B and the same qubit A and qubit C. This is mathematically expressed as:<br/>
<math>E(A|B1) + E(A|B2) \leq E(A|B1B2)</math><br/>
where <math>E()</math> is a measure for entanglement.
 
===Ancilla or Ancillary states===
Ancillary states are extra states used in some quantum algorithms and are usually measured or discarded at the end of the procedure or they represent the state of an extra quantum system that is used for computation or etc.
 
===Bloch Sphere===
In quantum mechanics, the Bloch sphere is a geometrical representation of the pure state space of a two-level quantum mechanical system (qubit). The Bloch sphere is a unit 2-sphere, with antipodal points corresponding to a pair of mutually orthogonal state vectors. The north and south poles of the Bloch sphere are typically chosen to correspond to the standard basis vectors <math>|0\rangle</math>, <math>|1\rangle</math> respectively, which in turn might correspond e.g. to the spin-up and spin-down states of an electron. This choice is arbitrary, however. The points on the surface of the sphere correspond to the pure states of the system, whereas the interior points correspond to the mixed states.
 
===Quantum One Way Function===
* '''Classical To Quantum QOWF'''
Based on the fundamental principles of quantum mechanics, QOWF was proposed by Gottesman and Chuang [https://arxiv.org/abs/quant-ph/0105032] and its definition is presented as follows.</br>
'''Definition 1''' Let k, <math>|f_k\rangle</math> be classical bits string of length <math>L_1</math>, quantum state of <math>L_2</math> qubits, respectively. A function <math>f : k\rightarrow |f_k\rangle</math>, where <math>|f_k\rangle</math> satisfies <math>\langle f_k|f_{k'}\rangle\le\delta < 1</math> for <math>k\ne k'</math>, is called a QOWF under physical mechanics if
#Easy to compute: The mapping <math>f : k\rightarrow |f_k\rangle</math> is easy to compute by a quantum polynomial-time algorithm.
#Hard to invert: Given <math>|f_k\rangle</math>, it is impossible to invert k by virtue of fundamental quantum information theory.


===Entanglement===
===Measurement===


===Gate Teleportation===  
===Gate Teleportation===  
Line 163: Line 109:
  <div id="7">  
  <div id="7">  
  [[File:Brickwork State.jpg|center|thumb|500px|Figure 7: Brickwork State]]</div>
  [[File:Brickwork State.jpg|center|thumb|500px|Figure 7: Brickwork State]]</div>
'''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):''
'''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):
# ''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]).''
# 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]).
# ''For each row, apply the operator c-Z on qubits (i,j) and (i,j + 1) where 1 ≤ j ≤ m − 1.''
# For each row, apply the operator c-Z on qubits (i,j) and (i,j + 1) where 1 ≤ j ≤ m − 1.
# ''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).''
# 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).
# ''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).''
# 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).


====Cylinder Brickwork States====
====Flow Construction-Determinism====
 
<div id="7">
[[File:Brickwork state cylinder.png|center|thumb|500px|Figure 8: Cylinder Brickwork State]]</div>
 
The cylinder brickwork state <math>G^{C}_{n*m}</math> is a modification of the brickwork state of size <math>n*m</math>, for even n, where the first and the last rows are connected such that the regular brickwork structure is preserved while introducing rotational symmetry. A tape <math>T_i</math>, shown in Fig 8.3, present in a cylinder brickwork graph is the subgraph which includes all the states in the random rows <math>i</math> and <math>i + 1</math>.
 
If all the nodes in <math>T_i</math> of the graph <math>G^{C}_{n*m}</math> are prepared in the dummy qubit state, <math>|z\rangle</math> where <math>z \in {0,1}</math> and the rest of the nodes are prepared in the state <math>|+_{\theta_i}\rangle</math>, then after entangling according to the cylinder brickwork state, the nodes are completely disentangled from the rest of the graph. The final obtained graph would be <math>G^{C}_{(n-1)*m} \bigotimes^{m}_{i=1} |z\rangle</math>.


The steps to perform single trap verifiable universal blind quantum computing are:
Measurement outcomes of qubits is not certain, hence it renders MBQC a non-deterministic model. This can still be rectified by invoking Pauli corrections based on the previous outcomes, as evident from above. For example, to implement Hadamard gate on input state <math>|\psi_i\rangle = a|0_i\rangle + b|1_i\rangle</math>, we consider the case of a two qubit graph state <math>C_{2*1}</math>.<br/>
* A random qubit is chosen to be the trap qubit (red node in Fig 8.1)
<math>C_{2x1} = CZ_{ij} |\psi_{ii}\rangle |+_{ij}\rangle = a|00_i\rangle + a|01_i\rangle + b|10_i\rangle b|11_i\rangle</math><br/>
* All other vertices in the tape containing the trap qubit (solid black nodes in Fig 8.2), are set to be dummy qubits
If one measures qubit i in <math>\{|+_i\rangle,|−_i\rangle\}</math> basis and gets outcome s, qubit j reduces to,<br/>
* This results in an isolated trap qubit in the state <math>|+_{\theta_i}\rangle</math> together with many dummy qubits after entanglement operations (Fig 8.3)
<math>= (a + b)|0_i\rang;e + (a b)|1_i\rangle, if s=0</math><br/>
* The net result, after discarding the dummy qubits, is a disentangled trap qubit in a product state with a brickwork state (Fig 8.4)
<math>= (a b)|0_i\rangle + (a + b)|1_i\rangle, if s=1</math><br/>
 
As, the two possible output states are different, it shows this method is non-deterministic. One could end up with any of the two states and there is no certainty. Nevertheless, we observe that if X gate is operated on the second qubit after measurement if outcome is 1, both the equations would be same and hence, obtained state is H |\psi_i\rangle.<br/>
====Flow Construction-Determinism====
Measurement outcomes of qubits is not certain, hence it renders MBQC a non-deterministic model. This can still be rectified by invoking Pauli corrections based on the previous outcomes, as evident from above. For example, to implement Hadamard gate on input state <math>|\psi\rangle = a|0\rangle + b|1\rangle</math>, we consider the case of a two qubit graph state <math>\mathcal{C}_{2\text{x}1}</math>.<br/>
<div style='text-align: center;'><math>\mathcal{C}_{2\text{x}1}= CZ_{ij} |\psi_{i}\rangle |+_{i}\rangle = a|00\rangle + a|01\rangle + b|10\rangle -b|11\rangle</math><br/></div>
If one measures qubit i in <math>\{|+\rangle,|-\rangle\}</math> basis and gets outcome s, qubit j reduces to,<br/>
<div style='text-align: center;'><math>=(a+b)|0\rangle+(a-b)|1\rangle, \text{if s=0}</math></br>
<math>=(a-b)|0\rangle+(a+b)|1\rangle, \text{if s=1}</math></div>
As, the two possible output states are different, it shows this method is non-deterministic. One could end up with any of the two states and there is no certainty. Nevertheless, we observe that if X gate is operated on the second qubit after measurement if outcome is 1, both the equations would be same and hence, obtained state is <math>H|\psi\rangle</math>.<br/>
Flow construction is the semanticism to construct the measurement pattern for a given graph state. It gives the Pauli corrections for a particular qubit in the graph state, called X and Z dependencies. In simpler words, it records the effect of shifting all Pauli X and Z corrections to the left of (after performing) Entanglement and Entanglement operations, respectively, for each qubit. The result is recorded as sets of X, Z corrections required for each site. These sets depend on the graph state and not the computation or measurement results. Hence, it can be computed while choosing the graph state for a required computation. Following we illustrate how to construct such models with ease using Measurement Calculus to invoke determinism in One-Way Quantum Computation(MBQC).<br/>
Flow construction is the semanticism to construct the measurement pattern for a given graph state. It gives the Pauli corrections for a particular qubit in the graph state, called X and Z dependencies. In simpler words, it records the effect of shifting all Pauli X and Z corrections to the left of (after performing) Entanglement and Entanglement operations, respectively, for each qubit. The result is recorded as sets of X, Z corrections required for each site. These sets depend on the graph state and not the computation or measurement results. Hence, it can be computed while choosing the graph state for a required computation. Following we illustrate how to construct such models with ease using Measurement Calculus to invoke determinism in One-Way Quantum Computation(MBQC).<br/>
Choose a unitary gate for the circuit and hence, its measurement pattern. In order to implement this pattern on a graph state, there are four basic steps: Preparation, Entanglement, Measurement, Corrections.<br/>
Choose a unitary gate for the circuit and hence, its measurement pattern. In order to implement this pattern on a graph state, there are four basic steps: Preparation, Entanglement, Measurement, Corrections.<br/>
*'''Preparation''' prepares all input qubits in the required state, generally represented as <math>|+_\theta=\frac{1}{\sqrt{2}}(|0\rangle+e^{i\theta}|1\rangle)</math> where <math>\theta\epsilon[0,2\pi]</math>. 
*''Preparation'' prepares all input qubits in the required state, generally represented as <math>|+\theta_i\rangle</math> where  
*'''Entanglement''' entangles all the qubits according to the required graph state. This operation is denoted by <math>E_{ij}</math>, where C-Z is operated with i as control qubit and j as target qubit.<br/>
*''Entanglement'' entangles all the qubits according to the required graph state. This operation is denoted by Eij, where C-Z is operated with i as control qubit and j as target qubit.<br/>
*'''Measurement''' assigns measurement angle in X-Y plane for each qubit. Measurement operator is notated as <math>M^\alpha_i</math>: the qubit ’i’ would be measured in <math>\{|+_\alpha\rangle,|-_\alpha\rangle\}</math> basis i.e. if the state is  <math>\frac{1}{\sqrt{2}}(|0\rangle+e^{i\alpha}|1\rangle)</math> one gets outcome 0 and if the state is <math>\frac{1}{\sqrt{2}}(|0\rangle-e^{i\alpha}|1\rangle)</math>, the outcome is 1.<br/>
*''Measurement'' assigns measurement angle in X-Y plane for each qubit. Measurement operator is notated as Miα: the qubit ’i’ would be measured in {|+αi,|−αi} basis i.e. if the state is  ) one gets outcome 0 and if the state is ), the outcome is 1.<br/>
*'''Correction''' calculates all Pauli corrections to be applied on a given qubit in the pattern. The set of such parameters are called Dependencies for X and Z operators individually. To calculate all the Pauli Corrections on a given qubit, one needs to take into account the measurement outcomes of previous qubits as well as commutation relations. Both affect the Pauli corrections for a given qubit. Below is a formalism to explain the process with an example.<br/>
*''Correction'' calculates all Pauli corrections to be applied on a given qubit in the pattern. The set of such parameters are called Dependencies for X and Z operators individually. To calculate all the Pauli Corrections on a given qubit, one needs to take into account the measurement outcomes of previous qubits as well as commutation relations. Both affect the Pauli corrections for a given qubit. Below is a formalism to explain the process with an example.<br/>
The effect of X gate on a measurement angle (<math>\alpha</math>) in X-Y plane is to change its sign and Z gate is to add a phase <math>\pi</math>.<br/>
The effect of X gate on a measurement angle (α) in X-Y plane is to change its sign and Z gate is to add a phase π.<br/>
<div style='text-align: center;'><math> ^t[M^\alpha_i]^s=M_i^\alpha Z^t X^s=M_i^{(-1)^s\alpha+t\pi}</math></div>
t α s α t s (−1)sα+tπ [Mi ] = Mi Z X = Mi{equation missing}π<br/>
We shall denote measurement in X-basis (<math>M_i^0</math>) as <math>M_i^x</math> and Y-basis (<math>M_i^\frac{\pi}{2}</math>) as <math>M_i^y</math><br/>  
We shall denote measurement in X-basis ({equation missing}  and Y-basis ({equation missing}<br/>  
Commutation relations:<br/><div style='text-align: center;'>
Commutation relations:<br/>
<math>E_{ij}X_i^s=X_i^sZ_i^sE_{ij}\quad\quad (EX)</math><br/>
EijXis = XisZisEij (EX)<br/>
<math>E_{ij}X_j^s=X_j^sZ_j^sE_{ij}\quad\quad(EX)</math><br/>
EijXjs = XjsZjsEij (EX)<br/>
<math>E_{ij}Z_i^t=Z_i^tE_{ij}\quad\quad(EZ)</math><br/>
EijZit = ZitEij (EZ){equation missing} <br/>
<math>E_{ij}Z_j^t=Z_j^tE_{ij}\quad\quad(EZ)</math><br/>
= (EZ){equation missing} <br/>
<math>^t[M^\alpha_i]^sX^r_i=^t[M^\alpha_i]^{s+r}\quad\quad(MX)</math><br/>
t α s r<br/>
<math>M_i^xX_i^s=M_i^x\quad\quad(MX)</math><br/>
[Mi ] Xi = t α s+r[Mi ]{equation missing}(MX)<br/>
<math>^t[M^\alpha_i]^sZ^r_i=^{t+r}[M^\alpha_i]^s\quad\quad(MZ)</math></div>
MixXis = Mix (MX){equation missing} <br/>
The last second equation is implied from the fact that for <math>M_i^x</math>, <math>x=0=-0</math>. Thus, X gate has no effect on measurement in X-basis for the given states. Using above notations we express the equation for circuit model of C-NOT from Figure 6 with two inputs and two outputs: Qubits: 1,2,3,4<br/>
= (MZ){equation missing} <br/>
Outcomes: <math>s_1, s_2, s_3, s_4</math><br/>
The last second equation is implied from the fact that for , x=0=-0. Thus, X gate has no effect on measurement in X-basis for the given states. Using above notations we express the equation for circuit model of C-NOT from Figure 6 with two inputs and two outputs: Qubits: 1,2,3,4<br/>
Circuit Operation: <math>X^{s_3}_4M_3^xE_{34}E_{13}X_3^{s_2}M_2^xE_{23}</math><br/>
Outcomes: s1,s2,s3,s4<br/>
<div style='text-align: center;'>
Circuit Operation: .<br/>
<math>X^{s_3}_4M_3^xE_{34}\mathbf{E_{13}X_3^{s_2}}M_2^xE_{23}\overset{\text{EX}}{\implies}</math><br/>
EX ={equation missing} <br/>
<math>X^{s_3}_4Z_1^{s_2}M_3^x\mathbf{E_{34}X_3^{s_2}}M_2^xE_{13}E_{23}\overset{\text{EX}}{\implies}</math><br/>
EX =⇒{equation missing} <br/>
<math>X^{s_3}_4Z_4^{s_2}Z_1^{s_2}\mathbf{M_3^xX_3^{s_2}}M_2^xE_{13}E_{23}E_{34}\overset{\text{MX}}{\implies}</math><br/>
MX =⇒{equation missing} <br/>
<math>X^{s_3}_4Z_4^{s_2}Z_1^{s_2}M_3^xM_2^xE_{13}E_{234}</math><br/></div>
X4s3Z4s2Z1s2M3xM2xE13E234{equation missing} <br/>
Hence, we obtain a measurement pattern to implement C-NOT gate with a T-shaped graph state with three qubits entangled chain <math>\{2,3,4\}</math> and 1 entangled to 3. X dependency sets for qubit <math>1:\{s_3\}</math>, <math>2:\phi</math>, <math>3:\phi</math>, <math>4:\phi</math>. Z dependency sets for qubit <math>1:\{s_2\}</math>, <math>2:\phi</math>, <math>3:\phi</math>, <math>4:\{s_2\}</math>. The measurements are independent of any outcome so they can all be performed in parallel. In the end, Pauli corrections are performed as such. Parity (modulo 2 sum) of all the previous outcomes in the dependency set is calculated for each qubit (i), for X (<math>s^X_i=s_1\oplus s_2\oplus...</math>) and Z (<math>s^Z_i=s_1\oplus s_2\oplus...</math>), separately. Thus, <math>X^{s^X_i}Z^{s^Z_i}</math> is operated on qubit i. <br/>
Hence, we obtain a measurement pattern to implement C-NOT gate with a T-shaped graph state with three qubits entangled chain {2,3,4} and 1 entangled to 3. X dependency sets for qubit 1:{s3}, 2:φ, 3:φ, 4:φ. Z dependency sets for qubit 1:{s2}, 2:φ, 3:φ, 4:{s2}. The measurements are independent of any outcome so they can all be performed in parallel. In the end, Pauli corrections are performed as such. Parity (modulo 2 sum) of all the previous outcomes in the dependency set is calculated for each qubit{equation missing} (i), for X (sXi = s1 ⊕ s2 ⊕ ...) and Z (sZi = s1 ⊕ s2 ⊕ ...), separately. Thus, is operated on qubit i.{equation missing} <br/>
 
===Quantum SWAP test===
<div id="swap">
[[File:SWAP_test_figure.png |center|thumb|500px|Figure 9: Gate Teleporation for Multiple Single Qubit Gates]]</div>
 
[https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.87.167902  Quantum SWAP test (1) ] helps to compare two quantum states <math>|\psi\rangle</math> and <math>|\psi'\rangle</math>. An ancilla qubit is prepared here in the state <math>\frac{|0\rangle + |1\rangle}{2}</math> and a controlled swap test is performed on two states <math>|\psi\rangle</math> and <math>|\psi'\rangle</math>.


If <math>|\psi\rangle</math> = <math>|\psi'\rangle</math>, then the ancilla qubit, after performing a Hadamard operation, yields <math>|0\rangle</math> when measurement is applied in computational basis. The SWAP test passes here.
===Fault Tolerance===
===Quantum Error Correction===
*Quantum Error Correcting Codes (QECCs)


If <math>|\psi\langle|\psi'\rangle \leq \delta</math>, then the ancilla qubit, after performing a Hadamard Gate and upon measurement, passes the test with probability <math>\frac{1+\delta^2}{2}</math>
*Stabilizer Codes
and fails the test with probability  <math>\frac{1-\delta^2}{2}</math>. Hence, the SWAP test always passes for the same inputs and sometimes fails if they are different. By repeating the SWAP test, its efficiency can be amplified.


===Quantum Capable Homomorphic Encryption===
===Topological Error Correction===
*'''Homomorphic Encryption'''<br/>A homomorphic encryption scheme HE is a scheme to carry out classical computation from the Server while hiding the inputs, outputs and computation. It can be divided into following four stages.
* ''Key Generation.'' The algorithm (pk,evk,sk) ← HE.Keygen(1λ) takes a λ, a security parameter as input and outputs a public key encryption key pk, a public evaluation key evk and a secret decryption key sk.
* ''Encryption.'' The algorithm c ← HE.Encpk(µ) takes the public key pk and a single bit message µ ∈ {0,1} and outputs a ciphertext c. The notation HE.Encpk(µ;r) is be used to represent the encryption of a bit µ using randomness r.
* ''Decryption''. The algorithm µ∗ ← HE.Decsk(c) takes the secret key sk and a ciphertext c and outputs a message µ∗ ∈ {0,1}.
* ''Homomorphic Evaluation'' The algorithm cf ← HE.Evalevk(f,c1,...,cl) takes the evaluation key evk, a function f : {0,1}l → {0,1} and a set of l ciphertexts c1,...,cl, and outputs a ciphertext cf. It must be the case that:
HE.Decsk(cf) = f(HE.Decsk(c1),...,HE.Decsk(cl)) (1)
with all but negligible probability in λ. This means classical HE decrypts ciphertext bit by bit.
HE scheme is compact if HE.Eval is independent of any inputs or computation. It is fully homomorphic if it can compute any boolean computation.
*'''Quantum Capable:''' A classical HE scheme is quantum capable if it can be used to evaluate quantum circuits. Any HE scheme to be quantum capable requires the following two properties.
*''invariance of ciphertext:''
*''natural XOR operation:''


==References==
===[[Adversarial Definitions]]===
1. [https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.87.167902 Harry Buhrman et al (2001)]
<div style='text-align: right;'>''*contributed by Shraddha Singh''</div>
Please note that all contributions to Quantum Protocol Zoo may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Quantum Protocol Zoo:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)