Table of Contents
Notes 2026-08-18
(Quantum 1) Quantum computing modalities, physical systems, and encodings
General picture
It is useful to distinguish several levels:
A logical qubit always has Hilbert space
An encoding specifies how this abstract two-dimensional system is represented inside a physical Hilbert space:
The corresponding code/computational subspace is
Thus:
- basis — coordinates used to describe a physical Hilbert space;
- encoding — map specifying which physical states represent logical states;
- code space — image of that encoding;
- logical qubit — abstract two-dimensional quantum system represented by the code space.
Physical platforms
Major physical approaches include:
- superconducting circuits;
- transmons;
- fluxonium;
- microwave resonators;
- trapped ions;
- neutral atoms / Rydberg atoms;
- photonic systems;
- semiconductor spin qubits;
- defect centers such as NV centers;
- topological systems.
These describe primarily what physical quantum system is being controlled, rather than how logical information is encoded in it.
“Platform” and “device” are not rigidly standardized terms. Roughly, a platform is a technological family, while a device is a particular realization within that family:
Transmon qubit
The transmon Hamiltonian is
It can first be represented in the charge basis
Diagonalizing the Hamiltonian gives
where
Thus
is merely a change of basis.
The ordinary transmon encoding then chooses
Hence
States such as
are outside the computational subspace. Population entering them constitutes leakage.
The distinction is therefore
versus
Bosonic systems
A bosonic mode has Fock space
with ladder operators
For a harmonic oscillator,
Electromagnetic field modes are bosonic modes, so this description applies both to optical photons and microwave cavity photons.
A bosonic code uses the larger oscillator Hilbert space to encode a smaller logical system:
Important bosonic codes include:
- cat codes;
- GKP codes;
- binomial codes.
These are alternative ways of encoding logical information into bosonic oscillator states.
Cat code
A coherent state satisfies
and has Fock expansion
Cat states are superpositions such as
For example, one possible logical basis is
Thus a logical state is encoded across many oscillator occupation numbers.
GKP code
The GKP code uses oscillator quadratures
Logical states correspond ideally to periodic grid-like states in oscillator phase space.
Thus GKP is another encoding
but with a very different code-space geometry from cat states.
Binomial code
Binomial codes construct logical states from selected finite superpositions of Fock states.
Schematically, an example can look like
Thus
are alternative bosonic codes/encodings.
Photonic quantum computing
“Photonic” primarily specifies a physical platform: optical electromagnetic modes are used as the physical quantum system.
It does not uniquely determine the encoding.
Possible photonic encodings include:
- dual rail;
- polarization;
- time bin;
- GKP;
- other bosonic encodings.
Therefore
while
A photonic system can therefore implement a bosonic code, but photonic quantum computing is not synonymous with bosonic coding.
Dual-rail encoding
Dual rail encodes one logical qubit into the single-excitation subspace of two distinguishable modes or subsystems.
For two modes ,
The encoding is
Hence
Equivalently,
The essential definition is therefore
Dual rail does not specifically require optical photons.
For two transmons , for example,
Using the usual shorthand,
Schwinger-boson representation
Two bosonic modes naturally realize the algebra .
Define
or equivalently
They satisfy
The total occupation
is conserved by these operators.
For fixed , the corresponding subspace has dimension
and realizes the spin
irreducible representation of .
In particular,
The states
therefore carry the fundamental two-dimensional representation of .
This explains mathematically why dual rail naturally behaves as a qubit.
Dual rail versus cat
Both can start from bosonic Hilbert spaces, but they use them very differently.
| Dual rail | Cat | |
|---|---|---|
| Typical number of modes | 2 | 1 |
| Logical basis | coherent-state superpositions | |
| Occupation | fixed total | distributed across many |
| Main idea | which rail contains excitation | structured states within oscillator |
| Uses large Fock space | minimally | deliberately |
Thus, schematically,
whereas
Dual rail and leakage
For two ideal two-level systems,
Dual rail selects only
Therefore
are outside the logical code space.
This means encoding creates additional opportunities for leakage, but that additional Hilbert-space structure can also make errors detectable.
For an ordinary transmon,
and relaxation gives
The error has mapped one valid logical state onto another.
For dual rail,
and single-excitation loss gives
or
Since
the loss can be recognized as leaving the code space.
However, the original amplitudes in
are lost after complete excitation loss. Dual rail therefore does not by itself correct this error; it can turn it into a detectable erasure/leakage event.
Dual rail versus repetition code
Dual rail:
Two-qubit repetition encoding:
Three-qubit bit-flip repetition code:
These should not be confused.
The three-qubit repetition code is designed to correct one bit-flip error:
Dual rail instead has useful properties against excitation-loss errors because valid states have fixed total excitation number
Thus they solve different problems:
while
Why use a larger Hilbert space?
Encoding often increases the physical Hilbert-space dimension.
For example,
for one logical qubit, while two physical two-level systems provide
This creates more states into which the system can leak.
However, the unused dimensions also provide somewhere for physical errors to go without becoming another valid logical state.
This is one of the fundamental ideas behind quantum error detection and correction:
The additional degrees of freedom provide redundancy that can allow physical errors to become detectable syndromes, leakage events, or correctable transformations.
Overall taxonomy
The most useful classification separates hardware from encoding:
Examples:
| Physical system | Possible encoding |
|---|---|
| Transmon | |
| Two transmons | dual rail |
| Two optical modes | dual rail |
| Optical polarization | polarization encoding |
| Optical temporal modes | time-bin encoding |
| Microwave cavity | cat, GKP, binomial |
| Optical bosonic mode | GKP or other bosonic code |
Encodings can themselves subsequently become the physical building blocks of higher-level error-correcting codes:
The overarching idea is
Different quantum-computing modalities and encodings are different solutions to this same physical and information-theoretic problem.
