In quantum computing, a qubit (//) or quantum bit is the basic unit of quantum information—the quantum version of the classic binary bit physically realized with a two-state device. A qubit is a two-state (or two-level) quantum-mechanical system, one of the simplest quantum systems displaying the peculiarity of quantum mechanics. Examples include the spin of the electron in which the two levels can be taken as spin up and spin down; or the polarization of a single photon in which the two states can be taken to be the vertical polarization and the horizontal polarization. In a classical system, a bit would have to be in one state or the other. However, quantum mechanics allows the qubit to be in a coherent superposition of both states simultaneously, a property that is fundamental to quantum mechanics and quantum computing.
The coining of the term qubit is attributed to Benjamin Schumacher. In the acknowledgments of his 1995 paper, Schumacher states that the term qubit was created in jest during a conversation with William Wootters.
Bit versus qubit
A binary digit, characterized as 0 or 1, is used to represent information in classical computers. When averaged over both of its states (0,1), a binary digit can represent up to one bit of Shannon information, where a bit is the basic unit of information. However, in this article, the word bit is synonymous with a binary digit.
In classical computer technologies, a processed bit is implemented by one of two levels of low DC voltage, and whilst switching from one of these two levels to the other, a so-called "forbidden zone" between two logic levels must be passed as fast as possible, as electrical voltage cannot change from one level to another instantaneously.
There are two possible outcomes for the measurement of a qubit—usually taken to have the value "0" and "1", like a bit or binary digit. However, whereas the state of a bit can only be either 0 or 1, the general state of a qubit according to quantum mechanics can be a coherent superposition of both. Moreover, whereas a measurement of a classical bit would not disturb its state, a measurement of a qubit would destroy its coherence and irrevocably disturb the superposition state. It is possible to fully encode one bit in one qubit. However, a qubit can hold more information, e.g., up to two bits using superdense coding.
For a system of n components, a complete description of its state in classical physics requires only n bits, whereas in quantum physics it requires (2n - 1) complex numbers (or a single point in a 2n-dimensional vector space).
In quantum mechanics, the general quantum state of a qubit can be represented by a linear superposition of its two orthonormal basis states (or basis vectors). These vectors are usually denoted as and . They are written in the conventional Dirac—or "bra–ket"—notation; the and are pronounced "ket 0" and "ket 1", respectively. These two orthonormal basis states, , together called the computational basis, are said to span the two-dimensional linear vector (Hilbert) space of the qubit.
Qubit basis states can also be combined to form product basis states. A set of qubits taken together is called a quantum register. For example, two qubits could be represented in a four-dimensional linear vector space spanned by the following product basis states: , , , and .
In general, n qubits are represented by a superposition state vector in 2n dimensional Hilbert space.
where α and β are the probability amplitudes, that are both complex numbers. When we measure this qubit in the standard basis, according to the Born rule, the probability of outcome with value "0" is and the probability of outcome with value "1" is . Because the absolute squares of the amplitudes equate to probabilities, it follows that and must be constrained according to the second axiom of probability theory by the equation
The probability amplitudes, and , encode more than just the probabilities of the outcomes of a measurement; the relative phase between and is for example responsible for quantum interference, as seen in the two-slit experiment.
Bloch sphere representation
It might, at first sight, seem that there should be four degrees of freedom in , as and are complex numbers with two degrees of freedom each. However, one degree of freedom is removed by the normalization constraint |α|2 + |β|2 = 1. This means, with a suitable change of coordinates, one can eliminate one of the degrees of freedom. One possible choice is that of Hopf coordinates:
Additionally, for a single qubit the global phase of the state ei ψ has no physically observable consequences,[a] so we can arbitrarily choose α to be real (or β in the case that α is zero), leaving just two degrees of freedom:
where is the physically significant relative phase.
The possible quantum states for a single qubit can be visualised using a Bloch sphere (see picture). Represented on such a 2-sphere, a classical bit could only be at the "North Pole" or the "South Pole", in the locations where and are respectively. This particular choice of the polar axis is arbitrary, however. The rest of the surface of the Bloch sphere is inaccessible to a classical bit, but a pure qubit state can be represented by any point on the surface. For example, the pure qubit state would lie on the equator of the sphere at the positive y-axis. In the classical limit, a qubit, which can have quantum states anywhere on the Bloch sphere, reduces to the classical bit, which can be found only at either poles.
The surface of the Bloch sphere is a two-dimensional space, which represents the state space of the pure qubit states. This state space has two local degrees of freedom, which can be represented by the two angles and .
A pure state is one fully specified by a single ket, a coherent superposition as described above. Coherence is essential for a qubit to be in a superposition state. With interactions and decoherence, it is possible to put the qubit in a mixed state, a statistical combination or incoherent mixture of different pure states. Mixed states can be represented by points inside the Bloch sphere (or in the Bloch ball). A mixed qubit state has three degrees of freedom: the angles and , as well as the length of the vector that represents the mixed state.
Operations on qubits
There are various kinds of physical operations that can be performed on qubits.
- Quantum logic gates, building blocks for a quantum circuit in a quantum computer, operate on a set of qubits (a register); mathematically, the qubits undergo a (reversible) unitary transformation described by the quantum gates' unitary matrix.
- Quantum measurement is an irreversible operation in which information is gained about the state of a single qubit, and coherence is lost. The result of the measurement of a single qubit with the state will be either with probability or with probability . Measurement of the state of the qubit alters the magnitudes of α and β. For instance, if the result of the measurement is , α is changed to 0 and β is changed to the phase factor no longer experimentally accessible. If measurement is performed on a qubit that is entangled, the measurement may collapse the state of the other entangled qubits.
- Initialization or re-initialization to a known value, often . This operation collapses the quantum state (exactly like with measurement). Initialization to may be implemented logically or physically: Logically as a measurement, followed by the application of the Pauli-X gate if the result from the measurement was . Physically, for example if it is a superconducting phase qubit, by lowering the energy of the quantum system to its ground state.
- Sending the qubit through a quantum channel to a remote system or machine (an I/O operation), potentially as part of a quantum network.
An important distinguishing feature between qubits and classical bits is that multiple qubits can exhibit quantum entanglement. Quantum entanglement is a nonlocal property of two or more qubits that allows a set of qubits to express higher correlation than is possible in classical systems.
The simplest system to display quantum entanglement is the system of two qubits. Consider, for example, two entangled qubits in the Bell state:
In this state, called an equal superposition, there are equal probabilities of measuring either product state or , as . In other words, there is no way to tell if the first qubit has value “0” or “1” and likewise for the second qubit.
Imagine that these two entangled qubits are separated, with one each given to Alice and Bob. Alice makes a measurement of her qubit, obtaining—with equal probabilities—either or , i.e., she can now tell if her qubit has value “0” or “1”. Because of the qubits' entanglement, Bob must now get exactly the same measurement as Alice. For example, if she measures a , Bob must measure the same, as is the only state where Alice's qubit is a . In short, for these two entangled qubits, whatever Alice measures, so would Bob, with perfect correlation, in any basis, however far apart they may be and even though both can not tell if their qubit has value “0” or “1” — a most surprising circumstance that can not be explained by classical physics.
Controlled gate to construct the Bell state
Controlled gates act on 2 or more qubits, where one or more qubits act as a control for some specified operation. In particular, the controlled NOT gate (or CNOT or CX) acts on 2 qubits, and performs the NOT operation on the second qubit only when the first qubit is , and otherwise leaves it unchanged. With respect to the unentangled product basis , , , , it maps the basis states as follows:
A common application of the CNOT gate is to maximally entangle two qubits into the Bell state. To construct , the inputs A (control) and B (target) to the CNOT gate are:
After applying CNOT, the output is the Bell State: .
Quantum entanglement also allows multiple states (such as the Bell state mentioned above) to be acted on simultaneously, unlike classical bits that can only have one value at a time. Entanglement is a necessary ingredient of any quantum computation that cannot be done efficiently on a classical computer. Many of the successes of quantum computation and communication, such as quantum teleportation and superdense coding, make use of entanglement, suggesting that entanglement is a resource that is unique to quantum computation. A major hurdle facing quantum computing, as of 2018, in its quest to surpass classical digital computing, is noise in quantum gates that limits the size of quantum circuits that can be executed reliably.
Qudits and qutrits
The term qudit (quantum digit) denotes the unit of quantum information that can be realized in suitable d-level quantum systems. A quantum register that can be measured to N states is identical to an N-level qudit.
Qudits are similar to the integer types in classical computing, and may be mapped to (or realized by) arrays of qubits. Qudits where the d-level system is not an exponent of 2 can not be mapped to arrays of qubits. It is for example possible to have 5-level qudits.
Similar to the qubit, the qutrit is the unit of quantum information that can be realized in suitable 3-level quantum systems. This is analogous to the unit of classical information trit of ternary computers.
Any two-level quantum-mechanical system can be used as a qubit. Multilevel systems can be used as well, if they possess two states that can be effectively decoupled from the rest (e.g., ground state and first excited state of a nonlinear oscillator). There are various proposals. Several physical implementations that approximate two-level systems to various degrees were successfully realized. Similarly to a classical bit where the state of a transistor in a processor, the magnetization of a surface in a hard disk and the presence of current in a cable can all be used to represent bits in the same computer, an eventual quantum computer is likely to use various combinations of qubits in its design.
The following is an incomplete list of physical implementations of qubits, and the choices of basis are by convention only.
|Physical support||Name||Information support|
|Photon||Polarization encoding||Polarization of light||Horizontal||Vertical|
|Number of photons||Fock state||Vacuum||Single photon state|
|Time-bin encoding||Time of arrival||Early||Late|
|Coherent state of light||Squeezed light||Quadrature||Amplitude-squeezed state||Phase-squeezed state|
|Electron number||Charge||No electron||One electron|
|Nucleus||Nuclear spin addressed through NMR||Spin||Up||Down|
|Optical lattices||Atomic spin||Spin||Up||Down|
|Josephson junction||Superconducting charge qubit||Charge||Uncharged superconducting island (Q=0)||Charged superconducting island (Q=2e, one extra Cooper pair)|
|Superconducting flux qubit||Current||Clockwise current||Counterclockwise current|
|Superconducting phase qubit||Energy||Ground state||First excited state|
|Singly charged quantum dot pair||Electron localization||Charge||Electron on left dot||Electron on right dot|
|Quantum dot||Dot spin||Spin||Down||Up|
|Gapped topological system||Non-abelian anyons||Braiding of Excitations||Depends on specific topological system||Depends on specific topological system|
|van der Waals heterostructure||Electron localization||Charge||Electron on bottom sheet||Electron on top sheet|
In 2008 a team of scientists from the U.K. and U.S. reported the first relatively long (1.75 seconds) and coherent transfer of a superposition state in an electron spin "processing" qubit to a nuclear spin "memory" qubit. This event can be considered the first relatively consistent quantum data storage, a vital step towards the development of quantum computing. In 2013, a modification of similar systems (using charged rather than neutral donors) has dramatically extended this time, to 3 hours at very low temperatures and 39 minutes at room temperature. Room temperature preparation of a qubit based on electron spins instead of nuclear spin was also demonstrated by a team of scientists from Switzerland and Australia. An increased coherence of qubits is being explored by researchers who are testing the limitations of a Ge hole spin-orbit qubit structure.
- Ancilla bit
- Bell state, W state and GHZ state
- Bloch sphere
- Physical and logical qubits
- Two-state quantum system
- The elements of the group U(2) are all possible single-qubit quantum gates
- The circle group U(1) define the phase about the qubits basis states
- This is because of the Born rule. The probability to observe an outcome upon measurement is the modulus squared of the probability amplitude for that outcome (or basis state, eigenstate). The global phase factor ei ψ is not measurable, because it is on the unit circle;
Note that by removing ei ψ it means that quantum states with global phase can not be represented as points on the surface of the Bloch sphere.
- B. Schumacher (1995). "Quantum coding". Physical Review A. 51 (4): 2738–2747. Bibcode:1995PhRvA..51.2738S. doi:10.1103/PhysRevA.51.2738. PMID 9911903.
- Nielsen, Michael A.; Chuang, Isaac L. (2010). Quantum Computation and Quantum Information. Cambridge University Press. p. 13. ISBN 978-1-107-00217-3.
- Shor, Peter (1997). "Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer∗". SIAM Journal on Computing. 26 (5): 1484–1509. arXiv:quant-ph/9508027. Bibcode:1995quant.ph..8027S. doi:10.1137/S0097539795293172. S2CID 2337707.
- Colin P. Williams (2011). Explorations in Quantum Computing. Springer. pp. 9–13. ISBN 978-1-84628-887-6.
- Nielsen, Michael A.; Chuang, Isaac (2010). Quantum Computation and Quantum Information. Cambridge: Cambridge University Press. pp. 13–16. ISBN 978-1-10700-217-3. OCLC 43641333.
- Horodecki, Ryszard; et al. (2009). "Quantum entanglement". Reviews of Modern Physics. 81 (2): 865–942. arXiv:quant-ph/0702225. Bibcode:2009RvMP...81..865H. doi:10.1103/RevModPhys.81.865. S2CID 59577352.
- Preskill, John (2018). "Quantum Computing in the NISQ era and beyond". Quantum. 2: 79. arXiv:1801.00862. doi:10.22331/q-2018-08-06-79. S2CID 44098998.
- Nisbet-Jones, Peter B. R.; Dilley, Jerome; Holleczek, Annemarie; Barter, Oliver; Kuhn, Axel (2013). "Photonic qubits, qutrits and ququads accurately prepared and delivered on demand". New Journal of Physics. 15 (5): 053007. arXiv:1203.5614. Bibcode:2013NJPh...15e3007N. doi:10.1088/1367-2630/15/5/053007. ISSN 1367-2630. S2CID 110606655.
- "Qudits: The Real Future of Quantum Computing?". IEEE Spectrum. 2017-06-28. Retrieved 2017-06-29.
- B. Lucatto; et al. (2019). "Charge qubit in van der Waals heterostructures". Physical Review B. 100 (12): 121406. arXiv:1904.10785. Bibcode:2019PhRvB.100l1406L. doi:10.1103/PhysRevB.100.121406. S2CID 129945636.
- J. J. L. Morton; et al. (2008). "Solid-state quantum memory using the 31P nuclear spin". Nature. 455 (7216): 1085–1088. arXiv:0803.2021. Bibcode:2008Natur.455.1085M. doi:10.1038/nature07295. S2CID 4389416.
- Kamyar Saeedi; et al. (2013). "Room-Temperature Quantum Bit Storage Exceeding 39 Minutes Using Ionized Donors in Silicon-28". Science. 342 (6160): 830–833. Bibcode:2013Sci...342..830S. doi:10.1126/science.1239584. PMID 24233718. S2CID 42906250.
- Náfrádi, Bálint; Choucair, Mohammad; Dinse, Klaus-Pete; Forró, László (July 18, 2016). "Room temperature manipulation of long lifetime spins in metallic-like carbon nanospheres". Nature Communications. 7: 12232. arXiv:1611.07690. Bibcode:2016NatCo...712232N. doi:10.1038/ncomms12232. PMC 4960311. PMID 27426851.
- Zhanning Wang, Elizabeth Marcellina, A. R. Hamilton, James H. Cullen, Sven Rogge, Joe Salfi, Dimitrie Culcer (April 1, 2021). "Qubits composed of holes could be the trick to build faster, larger quantum computers". npj Quantum Information. 7 (1). arXiv:1911.11143. doi:10.1038/s41534-021-00386-2.CS1 maint: uses authors parameter (link)
- Barenco, Adriano; Bennett, Charles H.; Cleve, Richard; DiVincenzo, David P.; Margolus, Norman; Shor, Peter; Sleator, Tycho; Smolin, John A.; Weinfurter, Harald (1995-11-01). "Elementary gates for quantum computation". Physical Review A. American Physical Society (APS). 52 (5): 3457–3467. arXiv:quant-ph/9503016. doi:10.1103/physreva.52.3457. ISSN 1050-2947.
- Nielsen, Michael A.; Chuang, Isaac (2000). Quantum Computation and Quantum Information. Cambridge: Cambridge University Press. ISBN 0521632358. OCLC 43641333.
- Colin P. Williams (2011). Explorations in Quantum Computing. Springer. ISBN 978-1-84628-887-6.
- Yanofsky, Noson S.; Mannucci, Mirco (2013). Quantum computing for computer scientists. Cambridge University Press. ISBN 978-0-521-87996-5.
- A treatment of two-level quantum systems, decades before the term “qubit” was coined, is found in the third volume of The Feynman Lectures on Physics (2013 ebook edition), in chapters 9-11.
- A non-traditional motivation of the qubit aimed at non-physicists is found in Quantum Computing Since Democritus, by Scott Aaronson, Cambridge University Press (2013).
- An introduction to qubits for non-specialists, by the person who coined the word, is found in Lecture 21 of The science of information: from language to black holes, by Professor Benjamin Schumacher, The Great Courses, The Teaching Company (4DVDs, 2015).
- A picture-book introduction to entanglement, showcasing a Bell state and the measurement of it, is found in Quantum entanglement for babies, by Chris Ferrie (2017). ISBN 9781492670261.