Editing Glossary

Jump to navigation Jump to search
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 7: Line 7:
===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>
*<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>
*<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>
*<math>\text{Z (Phase gate)}</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>
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>
*<math>\text{H (Hadamard gate)}</math>: <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 35: Line 29:
*<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.
*<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.
<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 168: Line 162:
# ''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====
<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:
* A random qubit is chosen to be the trap qubit (red node in Fig 8.1)
* All other vertices in the tape containing the trap qubit (solid black nodes in Fig 8.2), are set to be dummy qubits
* 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)
* The net result, after discarding the dummy qubits, is a disentangled trap qubit in a product state with a brickwork state (Fig 8.4)


====Flow Construction-Determinism====
====Flow Construction-Determinism====
Line 221: Line 200:
===Quantum SWAP test===
===Quantum SWAP test===
  <div id="swap">
  <div id="swap">
[[File:SWAP_test_figure.png |center|thumb|500px|Figure 9: Gate Teleporation for Multiple Single Qubit Gates]]</div>
[[File:SWAP_test_figure.png |center|thumb|500px|Figure 8: 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>.
Quantum SWAP test 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.
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.
Line 229: Line 208:
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>
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>
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.
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===
*'''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==
==References==
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>
<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)