Parity Measurement
   HOME

TheInfoList



OR:

Parity measurement (also referred to as Operator measurement) is a procedure in
Quantum information science Quantum information science is an interdisciplinary field that seeks to understand the analysis, processing, and transmission of information using quantum mechanics principles. It combines the study of Information science with quantum effects in p ...
used for error detection in quantum qubits. A parity measurement checks the equality of two qubits to return either a true or false answer, which can be used to determine whether a correction needs to occur.Steane, Andrew M. (2006). A tutorial on quantum error correction. ''Quantum Computers, Algorithms and Chaos'', 1-32. https://www2.physics.ox.ac.uk/sites/default/files/ErrorCorrectionSteane06.pdf Additional measurements can be made for a system greater than two qubits. Because parity measurement does not measure the state of singular bits but rather gets information about the whole state, it is considered an example of a joint measurement. Joint measurements do not have the consequence of destroying the original state of a qubit as normal quantum measurements do. Mathematically speaking, parity measurements are used to project a
state State may refer to: Arts, entertainment, and media Literature * ''State Magazine'', a monthly magazine published by the U.S. Department of State * ''The State'' (newspaper), a daily newspaper in Columbia, South Carolina, United States * ''Our S ...
into an
eigenstate In quantum physics, a quantum state is a mathematical entity that provides a probability distribution for the outcomes of each possible measurement on a system. Knowledge of the quantum state together with the rules for the system's evolution in t ...
of an operator and to acquire its
eigenvalue In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denoted b ...
. Parity measurement is essential to the concept of
Quantum Error Correction Quantum error correction (QEC) is used in quantum computing to protect quantum information from errors due to decoherence and other quantum noise. Quantum error correction is theorised as essential to achieve fault tolerant quantum computing that ...
. From the parity measurement, an appropriate unitary operation can be applied to correct the error without knowing the beginning state of the qubit.


Parity and parity checking

A parity measurement to determine the equality or inequality of two qubits can be accomplished using a series of CNOT gates, which is then stored in a "check bit", called the ancillary qubit. The unique state of the ancillary qubit is then used to determine either even or odd parity of the qubits. When the qubits of the input states are equal, an even parity will be measured indicating that no error has occurred. When the qubits are unequal, an odd parity will be measured indicating a single bit-flip error. With more than two qubits, additional parity measurements can be performed to determine if the qubits are the same value, and if not, which is the outlier. For example, in a system of three qubits, we can first perform a parity measurement on the first and second qubit, and then on the first and third qubit. Specifically, we are measuring Z \otimes Z \otimes I to determine if an X error has occurred on the first two qubits, and then Z \otimes I \otimes Z to determine if an X error has occurred on the first and third qubits. In a circuit, an ancillary qubit is prepared in the , 0\rangle state. During measurement, a controlled-NOT gate is performed on the ancillary bit dependent on the first qubit being checked, followed by a second controlled-NOT gate performed on the ancillary bit dependent on the second qubit being checked. If these qubits are the same, the double controlled-NOT gates will revert the ancillary qubit to its initial , 0\rangle state, which indicates even parity. If these qubits are not the same, the double controlled-NOT gates will alter the ancillary qubit to the opposite , 1\rangle state, which indicates odd parity. Looking at the ancillary qubits, a corresponding correction can be performed. Alternatively, the parity measurement can be thought of as a projection of a qubit state into an eigenstate of an operator and to acquire its eigenvalue. For the Z \otimes Z \otimes I measurement, checking the ancilla qubit in the basis , 0\rangle \pm \ , 1\rangle will return the eigenvalue of the measurement. If the eigenvalue here is measured to be +1 , this indicates even parity of the bits without error. If the eigenvalue is measured to be -1, this indicates odd parity of the bits with a bit-flip error.


Example

Alice, a sender, wants to transmit a qubit to Bob, a receiver. The state of any qubit that Alice would wish to send can be written as a\ , 0\rangle +b\ , 1\rangle where a\ and b\ are coefficients. Alice encodes this into three qubits, so that the initial state she transmits is a\ , 000\rangle +b\ , 111\rangle . Following noise in the channel, the three qubits state can be seen in the following table with the corresponding probability: A parity measurement can be performed on the altered state, with two ancillary qubits storing the measurement. First, the first and second qubits' parity is checked. If they are equal, a , 0\rangle is stored in the first ancillary qubit. If they are not equal, a , 1\rangle is stored in the first ancillary qubit. The same action is performed comparing the first and third qubits, with the check being stored in the second ancillary qubit. Important to note is that we do not actually need to know the input qubit state, and can perform the CNOT operations indicating the parity without this knowledge. The ancillary qubits are what indicates what bit has been altered, and the \sigma_x correction operation can be performed as needed. An easy way to visualize this is in the circuit above. First, the input state , \psi\rangle is encoded into 3 bits, and parity checks are performed with subsequent error correction performed based on the results of the ancilla qubits at the bottom. Finally, decoding is performing to put get back to the same basis of the input state.


Parity check matrix

A
parity check matrix In coding theory, a parity-check matrix of a linear block code ''C'' is a matrix which describes the linear relations that the components of a codeword must satisfy. It can be used to decide whether a particular vector is a codeword and is also used ...
for a quantum circuit can also be constructed using these principles. For some message ''x'' encoded as ''Gx'', where ''G'' corresponds to the
generator matrix In coding theory, a generator matrix is a matrix whose rows form a basis for a linear code. The codewords are all of the linear combinations of the rows of this matrix, that is, the linear code is the row space of its generator matrix. Terminolog ...
, ''Hx'' = 0 where ''H'' is the parity matrix containing 0's and 1's for a situation where there is no error. However, if an error occurs at one component, then the pattern in the errors can be used to find which bit is incorrect.


Types of parity measurements

Two types of parity measurement are indirect and direct. Indirect parity measurements coincide with the typical way we think of parity measurement as described above, by measuring an ancilla qubit to determine the parity of the input bits. Direct parity measurements differ from the previous type in that a common mode with the parities coupled to the qubits is measured, without the need for an ancilla qubit. While indirect parity measurements can put a strain on experimental capacity, direct measurements may interfere with the
fidelity Fidelity is the quality of faithfulness or loyalty. Its original meaning regarded duty in a broader sense than the related concept of ''fealty''. Both derive from the Latin word ''fidēlis'', meaning "faithful or loyal". In the City of London f ...
of the initial states.


Example

For example, given a
Hermitian {{Short description, none Numerous things are named after the French mathematician Charles Hermite (1822–1901): Hermite * Cubic Hermite spline, a type of third-degree spline * Gauss–Hermite quadrature, an extension of Gaussian quadrature meth ...
and
Unitary operator In functional analysis, a unitary operator is a surjective bounded operator on a Hilbert space that preserves the inner product. Unitary operators are usually taken as operating ''on'' a Hilbert space, but the same notion serves to define the con ...
U (whose eigenvalues are \pm1) and a state , \psi\rangle, the circuit on the top right performs a Parity measurement on U. After the first
Hadamard Jacques Salomon Hadamard (; 8 December 1865 – 17 October 1963) was a French mathematician who made major contributions in number theory, complex analysis, differential geometry and partial differential equations. Biography The son of a teac ...
gate, the state of the circuit is : \frac(, 0\rangle , \psi\rangle + , 1\rangle , \psi\rangle) After applying the ''controlled-U'' gate, the state of the circuit evolves to : \frac(, 0\rangle , \psi\rangle + , 1\rangle U, \psi\rangle) After applying the second Hadamard gate, the state of the circuit turns into : \frac, 0\rangle(, \psi\rangle + U, \psi\rangle) + \frac, 1\rangle(, \psi\rangle - U, \psi\rangle) If the state of the top qubit after measurement is , 0\rangle, then , \phi\rangle = , \psi\rangle + U, \psi\rangle; which is the +1 eigenstate of U. If the state of the top qubit is , 1\rangle, then , \phi\rangle = , \psi\rangle - U, \psi\rangle; which is the -1 eigenstate of U.


Experiments and applications

In experiments, parity measurements are not only a mechanism for quantum error correction, but they can also help combat non-ideal conditions. Given the existent possibility for bit flip errors, there is an additional likelihood for errors as a result of leakage. This phenomenon is due to unused high-energy qubits becoming excited. It has been demonstrated in superconducting
transmon In quantum computing, and more specifically in superconducting quantum computing, a transmon is a type of superconducting charge qubit that was designed to have reduced sensitivity to charge noise. The transmon was developed by Robert J. Schoelko ...
qubits that parity measurements can be applied repetitively during quantum error correction to remove leakage errors. Repetitive parity measurements can be used to stabilize an entangled state and prevent leakage errors (which normally is not possible with typical quantum error correction), but the first group to accomplish this did so in 2020. By performing interleaving XX and ZZ checks, which can ultimately tell whether an X (bit), Y (iXZ), or Z (phase) flip error occurs. The outcomes of these parity measurements of ancilla qubits are used with
Hidden Markov Models A hidden Markov model (HMM) is a statistical Markov model in which the system being modeled is assumed to be a Markov process — call it X — with unobservable ("''hidden''") states. As part of the definition, HMM requires that there be an obs ...
to complete leakage detection and correction.


References

{{Quantum computing, state=collapsed Quantum information theory Quantum measurement Quantum computing