Study questions and source-based explanations extracted from the supplied PDF. Mathematical expressions are reproduced as text here; use the original PDF for authoritative typesetting and complex formula layout.
Source page 3
Quantum Gates Deck 1
Single-Qubit Gates & the Bloch Sphere
Single-Qubit Gates & the Bloch Sphere
Q1.1 What are the three Pauli gates (X, Y , Z), and what does each one do geometrically on the Bloch sphere?
The Pauli gates are the fundamental single-qubit ”flip” operations, each corresponding to a 180° (half-turn) rotation
of the Bloch sphere about one of its three principal axes:
(0 1 ) (0 −i ) (1 0 )
X = , Y = , Z =
1 0 i 0 0 −1
X (the ”quantum NOT” or bit-flip gate) rotates 180° about the Bloch sphere’s x-axis, swapping |0⟩↔|1⟩. Z (the
phase-flip gate) rotates 180° about the z-axis, leaving |0⟩unchanged but flipping the sign of |1⟩(i.e. |1⟩→−|1⟩) –
a change invisible to a direct measurement in the computational basis, but very much detectable via interference. Y
rotates 180° about the y-axis, and can be understood as effectively combining both a bit-flip and a phase-flip (up to
an overall phase factor, Y = iXZ).
Q1.2 What does the Hadamard gate H do, and why is it the standard gate used to create an equal superposition from a computational basis state?
( )
1 1 1
H = √
2 1 −1
The Hadamard gate maps |0⟩→ √12(|0⟩+|1⟩) and |1⟩→ √12(|0⟩−|1⟩) – transforming a definite computational-basis
state into an equal superposition of both basis states (with a relative sign depending on the input). Geometrically,
it corresponds to a 180° rotation of the Bloch sphere about the diagonal axis exactly halfway between the x-axis and
z-axis – which is precisely why it swaps the roles of the computational (Z) basis and the diagonal (X) basis, making
it the standard gate for initializing qubits into superposition at the start of nearly every quantum algorithm, and for
converting between the two bases when needed (e.g. in the BB84 quantum key distribution protocol, or before/after
a controlled operation that needs to act in the ”wrong” basis).
Q1.3 What are the S and T gates, and how do they relate to each other and to the Z gate as a family of phase-rotation gates?
These are all ”phase gates,” each applying a phase shift to the |1⟩component while leaving |0⟩unchanged – differing
only in the size of the phase angle:
( ) (1 0 ) (1 0 ) 1 0
S = = , T =
0 i 0 eiπ/2 0 eiπ/4
√
S (sometimes called the ”phase gate” or Z gate, since applying it twice equals Z) applies a 90° phase rotation;
T (the ”π/8 gate,” since applying it twice equals S) applies a 45° phase rotation, making it the ”square root” of S.
These form a natural hierarchy: T 2 = S, S2 = Z, and Z2 = I – progressively finer phase rotations, with the T
gate specifically playing an essential role in universal quantum computation (see Section 4), since it’s the smallest
standard phase rotation not achievable using Clifford-group gates alone.
Source page 4
Quantum Gates Deck 1
Q1.4 What are the parameterized rotation gates Rx(θ), Ry(θ), and Rz(θ), and how do the Pauli and Hadamard/S/T gates relate to them as special cases?
These gates implement a continuously tunable rotation by an arbitrary angle θ about the x, y, or z axis of the Bloch
sphere respectively, generalizing the fixed 180° Pauli rotations to any angle:
(e−iθ/2 0 )
Rz(θ) = 0 eiθ/2
(with Rx and Ry defined analogously about their respective axes). Setting θ = π in Rx, Ry, or Rz recovers the
corresponding Pauli gate X, Y , or Z (up to an overall, physically unobservable global phase factor); setting θ = π/2
in Rz recovers the S gate, and θ = π/4 recovers the T gate. These continuously parameterized rotation gates are
especially important in variational quantum algorithms (VQE, QAOA), where the rotation angle θ is exactly the kind
of tunable parameter a classical optimizer adjusts during training.
Q1.5 What is a global phase, and why does multiplying an entire quantum state by a phase factor eiϕ have no physically observable effect?
A global phase is a single overall complex phase factor eiϕ multiplying every amplitude of a quantum state uniformly
(as opposed to a relative phase between specific components of a superposition, which is very much physically
meaningful and observable via interference). Since all physical measurement probabilities are computed from the
squared magnitude |α|2 of each amplitude, and |eiϕα|2 = |α|2 for any real ϕ, a global phase factor cancels out of
every possible measurement probability – meaning two quantum states differing only by a global phase are, for every
conceivable physical experiment, completely indistinguishable and represent the exact same physical state. This is
why gate identities are often only claimed to hold ”up to a global phase,” and why some gate decompositions can
differ from a supposedly equivalent circuit by an unimportant overall phase without this being considered an actual
error.
Source page 5
Quantum Gates Deck 2
Multi-Qubit & Entangling Gates
Multi-Qubit & Entangling Gates
Q2.1 What does the CNOT (Controlled-NOT) gate do, and why is it considered the single most important two-qubit gate in quantum computing?
CNOT acts on two qubits – a control and a target – flipping the target qubit (applying an X gate to it) if and only
if the control qubit is |1⟩, leaving the target unchanged if the control is |0⟩:
1 0 0 0
0 1 0 0 CNOT = (basis order |00⟩, |01⟩, |10⟩, |11⟩) 0 0 0 1
0 0 1 0
It’s considered the single most important two-qubit gate because it’s the standard, most commonly used gate for
creating entanglement: applying CNOT to a control qubit already in superposition (e.g. after a Hadamard) and a
target initialized to |0⟩produces a maximally entangled Bell state, √12(|00⟩+ |11⟩) – and, together with arbitrary
single-qubit gates, CNOT forms a universal gate set (Section 4) sufficient to build any quantum circuit whatsoever.
Q2.2 What is the difference between the CNOT gate and the Controlled-Z (CZ) gate, and how are the two related by a simple circuit identity?
CZ applies a Z gate to the target qubit if and only if the control qubit is |1⟩(equivalently, by its symmetric matrix
structure, it can be viewed as treating either qubit as the ”control” interchangeably) – it applies a phase flip of −1
specifically to the |11⟩component and leaves every other basis state unchanged:
1 0 0 0
0 1 0 0 CZ = 0 0 1 0
0 0 0 −1
CNOT and CZ are directly related by conjugating the target qubit with Hadamard gates: CNOT = (I⊗H) CZ (I⊗H)
– since HZH = X, wrapping CZ’s target qubit in Hadamards before and after converts its ”apply Z” action into an
”apply X” action, turning CZ into CNOT. This identity is practically important because many hardware platforms
(particularly superconducting qubits) find it physically easier to natively implement CZ, converting to a ”logical”
CNOT only when the circuit compiler needs one.
Q2.3 What is the SWAP gate, and how can it be constructed from exactly three CNOT gates?
The SWAP gate exchanges the quantum states of two qubits entirely: |ab⟩→|ba⟩for any computational basis states
a, b. It can be built from three CNOT gates applied in an alternating control/target pattern:
SWAP = CNOT1→2 · CNOT2→1 · CNOT1→2
(first qubit 1 controls qubit 2, then qubit 2 controls qubit 1, then qubit 1 controls qubit 2 again) – an identity directly
analogous to the classical ”XOR swap” trick for exchanging two variables without a temporary storage variable,
using exactly the same three-step alternating-XOR structure. This decomposition matters practically because most
hardware platforms don’t natively implement a direct SWAP interaction, so a compiler must construct it from the
platform’s native two-qubit entangling gate (typically CNOT- or CZ-like) instead.
Source page 6
Quantum Gates Deck 2
Q2.4 What is the Toffoli gate (CCNOT), and why is it particularly significant for connecting quan- tum computation back to reversible classical logic?
The Toffoli gate is a three-qubit gate with two control qubits and one target qubit – it flips the target if and only if
both control qubits are |1⟩, directly implementing a reversible version of the classical logical AND operation (since
the two control qubits’ values are preserved unchanged, and the target reveals their AND result if it started at |0⟩).
Its significance is that it’s universal for classical reversible computation – any classical Boolean circuit (built from
AND, OR, NOT gates) can be reconstructed using only Toffoli gates (plus ancilla qubits initialized to known values),
meaning quantum computers can directly and reversibly emulate arbitrary classical computation as a special case,
which is essential for implementing the classical logic subroutines (like modular arithmetic in Shor’s algorithm) that
many quantum algorithms need as building blocks alongside their genuinely quantum operations.
Q2.5 What is a general ”controlled-U” gate, and how does it generalize the specific CNOT and CZ gates to an arbitrary single-qubit unitary U?
A controlled-U gate applies an arbitrary single-qubit unitary operation U to a target qubit if and only if a control
qubit is |1⟩, leaving the target entirely unchanged if the control is |0⟩– CNOT and CZ are simply the specific special
cases where U = X and U = Z respectively. This general construction is the essential building block underlying
Quantum Phase Estimation (where a sequence of controlled-U, controlled-U 2, controlled-U 4, ... operations are
applied for increasing powers of U) and many other algorithms that need to conditionally apply some more complex
operation based on another qubit’s (or register’s) state – any single-qubit gate can, in principle, be ”promoted” to a
controlled version, though the actual physical circuit complexity/depth needed to implement a controlled version of
an arbitrary U can be considerably greater than implementing U itself uncontrolled.
Source page 7
Quantum Gates Deck 3
Unitarity & Reversibility
Unitarity & Reversibility
Q3.1 Why must every quantum gate be represented by a unitary matrix, and what does the uni- tarity condition U †U = I actually guarantee physically?
A quantum state’s total measurement probability must always sum to exactly 1 (it must be a valid probability dis-
tribution), and this must remain true after any gate is applied, for any possible input state – the unitarity condition
U †U = I (where U † is the conjugate transpose of U) is precisely the mathematical requirement that guarantees a
linear operation preserves the total norm/probability of any quantum state it’s applied to, for every possible in-
put. Physically, unitarity reflects the fact that an isolated quantum system evolving under the Schrödinger equation
(with no measurement or unwanted interaction with its environment) always evolves this way – any operation that
could genuinely occur as isolated quantum evolution is, by the underlying physics itself, guaranteed to be unitary; a
non-unitary ”gate” simply isn’t a physically realizable isolated quantum operation at all.
Q3.2 Why must every quantum gate be reversible, and why can’t a quantum computer directly implement classical logic gates like AND or OR without modification?
Every unitary matrix is, by definition, invertible (U −1 = U †, from the unitarity condition itself) – so every quan-
tum gate necessarily has a well-defined inverse operation that exactly undoes it, meaning quantum computation is
inherently reversible: given only the output of a quantum gate, you can always recover exactly what its input must
have been. Classical gates like AND and OR are fundamentally irreversible – given only the single output bit of
an AND gate (e.g. output = 0), there’s no way to determine which of the three possible input combinations (00, 01,
10) actually produced it, since multiple distinct inputs collapse to the same output. This is precisely why classical
AND/OR cannot be directly implemented as quantum gates at all – they must first be converted into a reversible
equivalent (as the Toffoli gate does for AND, at the cost of extra ancilla qubits preserving what would otherwise be
”lost” input information) before they can be represented as a valid unitary quantum operation.
Q3.3 Why is measurement not itself a unitary gate, and how does this make it fundamentally different from every other operation in a quantum circuit?
Measurement is fundamentally non-unitary and irreversible – it collapses a quantum superposition down to a single,
definite classical outcome (with a probability given by the Born rule), and critically, this collapse cannot be undone:
there is no ”inverse measurement” operation that could take the classical measurement result and reconstruct the
original pre-measurement superposition state, since that original superposition information is genuinely, physically
lost in the act of measuring. This makes measurement categorically different from every unitary gate in a circuit
(all of which are reversible and preserve all information, at least in principle) – it’s why quantum circuit diagrams
conventionally draw measurement as a distinct, special operation (often depicted with a ”meter” symbol) placed only
at specific points, typically the very end of a circuit, rather than as just another gate freely interchangeable with the
unitary operations surrounding it.
Q3.4 What is the relationship between a quantum gate’s matrix and its ”adjoint” or ”dagger” (denoted U †), and how is this used to build the inverse of an entire quantum circuit?
For a unitary matrix U, its adjoint U † (conjugate transpose) is exactly its matrix inverse, i.e. U † = U −1 – so ”un-
doing” any single gate is simply a matter of computing and applying its adjoint. To invert an entire multi-gate circuit
Source page 8
Quantum Gates Deck 3
(a sequence of gates U1 then U2 then U3, applied in that order), you must reverse both the order of the gates and take
the adjoint of each individual gate: the inverse of the full circuit U3U2U1 is U 1U† 2U† 3† – exactly analogous to how
inverting a sequence of matrix multiplications requires both reversing their order and inverting each one individually.
This construction is used routinely, for instance, to build the ”uncompute” step common in many quantum algorithms,
where ancilla qubits used for an intermediate calculation must be returned to a known state by running the relevant
portion of the circuit in reverse.
Source page 9
Quantum Gates Deck 4
Universal Gate Sets & Decomposition
Universal Gate Sets & Decomposition
Q4.1 What does it mean for a set of quantum gates to be ”universal,” and why is CNOT plus arbitrary single-qubit gates considered a universal gate set?
A gate set is universal if any arbitrary unitary operation on any number of qubits can be constructed (exactly, or
approximated to arbitrary precision) using only gates drawn from that set. The combination of CNOT plus arbitrary
single-qubit gates is universal because any multi-qubit unitary can be mathematically decomposed into a sequence
of single-qubit rotations (which arbitrary single-qubit gates directly provide) combined with two-qubit entangling
operations – and CNOT alone, applied appropriately alongside those single-qubit gates, is provably sufficient to
generate any needed multi-qubit entangling structure; no additional distinct two-qubit gate is fundamentally necessary
once you have both ingredients. This is why quantum circuit compilers routinely decompose an algorithm’s high-
level operations into a circuit expressed only in terms of a small, fixed native gate set that always includes some
CNOT-equivalent entangling gate plus a small set of single-qubit rotations.
Q4.2 Why is the discrete gate set {Hadamard, T-gate, CNOT} considered universal, given that ”arbitrary single-qubit gates” involves a continuous, infinite range of possible rotation an- gles?
While arbitrary single-qubit gates (a continuous range of angles) plus CNOT is universal, real hardware can only
reliably implement a small, discrete set of fixed gates – so a genuinely practical universal set must show that this
small discrete set can still approximate any continuous rotation to arbitrary precision, not just implement a limited
handful of specific rotations exactly. The Hadamard and T gates combined can generate a set of achievable rotation
angles that, remarkably, becomes densely distributed across all possible rotation angles as more Hadamard-T gates
are chained together – meaning any desired arbitrary single-qubit rotation can be approximated arbitrarily closely
by a sufficiently long enough sequence of just Hadamard and T gates, and combined with CNOT for the necessary
two-qubit entangling structure, this small, fully discrete gate set is therefore also universal in the practically relevant
”approximate to arbitrary precision” sense – a substantially stronger and more hardware-relevant claim than merely
having access to a continuous, physically unrealistic set of exact arbitrary rotations.
Q4.3 What is the Solovay-Kitaev theorem, and why is it important for translating an ”in principle universal” discrete gate set into a practically usable circuit compilation strategy?
The Solovay-Kitaev theorem gives a precise, quantitative guarantee about how efficiently an arbitrary single-qubit
rotation can be approximated using a fixed discrete universal gate set (like Hadamard + T): it proves that achieving an
approximation error of at most ϵ requires only O(logc(1/ϵ)) gates from the discrete set (for some modest constant c),
rather than some far less favorable (e.g. polynomial or exponential) scaling in 1/ϵ. This is important because merely
knowing a discrete gate set is ”universal in principle” (can approximate anything, given enough gates) would be
practically useless if achieving high precision required an impractically, explosively large number of gates – Solovay-
Kitaev’s efficient, only-logarithmic scaling is precisely what makes it computationally practical to actually compile
a desired arbitrary rotation down into a real, reasonably-short sequence of a hardware’s native discrete gate set with
high fidelity.
Source page 10
Quantum Gates Deck 4
Q4.4 What is the Clifford group, and why does the Gottesman-Knill theorem show that circuits built only from Clifford gates provide no genuine quantum computational advantage?
The Clifford group is generated by the Hadamard, S (phase), and CNOT gates (along with Pauli gates) – an important,
well-behaved subgroup of all possible quantum gates, but notably not itself universal (it’s missing the T gate, or any
comparable ”non-Clifford” resource). The Gottesman-Knill theorem proves that any quantum circuit built entirely
from Clifford gates (even including gates that create substantial entanglement, like CNOT), acting on computational
basis state inputs and using only Clifford-group measurements, can be efficiently simulated on a classical computer
– meaning such circuits, despite genuinely using quantum superposition and entanglement, provide no quantum
computational advantage over classical computation whatsoever. This makes the T gate (or any comparable non-
Clifford operation) a genuinely essential, non-optional ingredient for any quantum algorithm to have a chance at real
quantum advantage – which is precisely why T gates (rather than Clifford gates, which are comparatively ”cheap”
to implement fault-tolerantly) are typically the dominant resource bottleneck driving the overall cost of running a
fault-tolerant quantum algorithm.
Source page 11
Quantum Gates Deck 5
Circuit Identities & Simplification
Circuit Identities & Simplification
Q5.1 How does conjugating a CNOT gate’s control and target qubits with Hadamard gates on both sides swap which qubit acts as control and which as target?
Given a CNOT gate with qubit 1 as control and qubit 2 as target, applying Hadamard gates to both qubits before and
after the CNOT produces a circuit exactly equivalent to a CNOT with the control and target roles reversed (qubit 2
now controlling qubit 1):
(H ⊗H) CNOT1→2 (H ⊗H) = CNOT2→1
This follows from the Hadamard-CNOT-CZ relationship discussed earlier (Section 2): since CZ is symmetric under
exchanging which qubit is called ”control,” and Hadamard conjugation converts between CNOT and CZ, sandwich-
ing a CNOT between Hadamards on both qubits effectively flips it to the CZ representation (where control/target
labels are interchangeable), then back to a CNOT with the roles swapped. This identity is frequently used in circuit
optimization/compilation when a hardware platform’s native connectivity supports an entangling interaction more
efficiently or reliably in one particular control/target direction than the other.
Q5.2 Do two CNOT gates always commute (can their order be freely swapped) when applied to the same pair of qubits, and what determines when gate commutation is or isn’t allowed?
Two identical CNOT gates applied to the exact same control/target pair trivially ”commute” in the sense that apply-
ing the same gate twice in a row is equivalent to applying it once and then its own inverse (CNOT is self-inverse,
CNOT2 = I), so consecutive identical CNOTs simply cancel entirely. More generally, whether two different gates
commute (can be swapped in order with no change to the overall circuit’s effect) depends on whether the gates act
on disjoint sets of qubits (gates on entirely separate qubits always commute, since they act independently) or, for
gates sharing a qubit, on whether their underlying matrices happen to mathematically commute (AB = BA) – e.g.
two different diagonal gates like Z and S always commute with each other even acting on the same qubit (since
diagonal matrices always commute), but X and Z on the same qubit generally do not commute, reflecting their
non-commuting-observable relationship underlying the Heisenberg uncertainty principle itself.
Q5.3 How can a multi-controlled Toffoli-like gate with many control qubits be decomposed into a sequence of simpler two-control Toffoli gates using ancilla qubits?
A gate that should apply an X operation to a target only when all of several control qubits are |1⟩(a generalized,
multi-control Toffoli) can be built by breaking the large AND-of-many-conditions computation down into a cascade
of ordinary two-input Toffoli gates, each one combining two previously-computed partial results (stored in ancilla
qubits initialized to |0⟩) into a new intermediate ancilla – e.g. first compute (control1 AND control2) into ancilla1 via
one Toffoli, then compute (ancilla1 AND control3) into ancilla2 via a second Toffoli, and so on, until the final ancilla
holds the complete AND of all original controls, which then controls the actual target operation. Since Toffoli gates
(and this whole construction) are reversible, the ancilla qubits’ intermediate values must typically be ”uncomputed”
(running the same cascade of Toffolis in reverse after the target operation) to reset them back to |0⟩for reuse, rather
than being left in an arbitrary, entangled intermediate state.
Q5.4 What is ”gate teleportation,” and how does it allow certain difficult-to-implement gates to be applied using only simpler operations plus a pre-shared entangled resource state?
What is ”gate teleportation,” and how does it allow certain difficult-to-implement gates to
be applied using only simpler operations plus a pre-shared entangled resource state?
Source page 12
Quantum Gates Deck 5
Gate teleportation (related to, but distinct from, standard quantum state teleportation) is a technique where a specific,
hard-to-directly-implement gate is instead applied by consuming a specially prepared, pre-shared resource state
(often called a ”magic state” when used for non-Clifford gates like T) through a sequence of comparatively simple
operations – typically a Bell-basis measurement combined with a classically-controlled Pauli correction applied based
on the measurement outcome. This is particularly valuable in fault-tolerant quantum computing because certain gates
(notably the T gate) are considerably more difficult and resource-intensive to implement directly and reliably within
an error-corrected framework than the comparatively ”cheap” Clifford gates are – gate teleportation via pre-distilled
magic states lets a fault-tolerant computer effectively ”spend” a costly, carefully pre-prepared resource state (which
can be manufactured and purified offline, in advance, via a process called magic state distillation) to apply the difficult
gate using only simple, reliable Clifford operations and measurement at the actual point of use.
Source page 13
Quantum Gates Deck 6
Native Hardware Gates
Native Hardware Gates
Q6.1 What is a ”native gate set,” and why does every quantum hardware platform typically sup- port only a small, specific subset of all mathematically possible gates directly?
A native gate set is the small, specific collection of quantum operations a particular hardware platform can physically
implement directly, determined by the underlying physical control mechanisms available (e.g. specific microwave
pulse sequences for superconducting qubits, or specific laser pulse sequences for trapped ions) – any other desired
gate not in this native set must be compiled/decomposed into a sequence of native gates before it can actually run on
that hardware. Every platform is restricted to a small native set because implementing an arbitrary unitary operation
directly, from scratch, for every possible gate would require an impractically vast, unmanageable library of distinct
physical control pulses – it’s far more practical to engineer a small number of reliable native operations (typically a
couple of single-qubit rotation types plus one entangling two-qubit interaction) and rely on the universality results
discussed in Section 4 to guarantee that any needed operation can still be built from just this small native set.
Q6.2 √ What are Rz, Rx, and X (or similar) gates, and why is Rz specifically often implemented as an essentially ”free,” instantaneous virtual gate on superconducting hardware, rather than a physical pulse?
On many superconducting-qubit platforms, single-qubit rotations about the z-axis (Rz) can be implemented as a
virtual gate – rather than physically applying any microwave pulse to the qubit at all, the control electronics simply
adjust the reference phase used for all subsequent pulses/gates applied to that qubit, retroactively achieving the
same physical effect a real Rz rotation would have produced. This trick works because a z-rotation only affects the
relative phase between |0⟩and |1⟩, which can be equivalently tracked and adjusted purely in the classical control
software’s bookkeeping, rather than physically manipulating the qubit itself – making virtual Rz gates effectively
”free” (zero duration, zero physical error contribution), which is why compiled circuits for these platforms often √
show a disproportionately large number of Rz gates relative to physically-implemented Rx/ X rotations, since the
former cost essentially nothing while the latter consume real gate time and contribute real physical error.
Q6.3 What is the cross-resonance gate commonly used as the native two-qubit entangling gate on IBM’s superconducting quantum processors, and how does it differ conceptually from a direct, tunable-coupling-based CZ interaction?
The cross-resonance gate entangles two fixed-frequency superconducting qubits by driving the control qubit with a
microwave pulse at the target qubit’s resonant frequency – exploiting a weak, always-present physical coupling be-
tween the two qubits to indirectly induce a controlled rotation on the target, conditioned on the control qubit’s state,
without requiring either qubit’s own frequency to be dynamically tuned during the gate operation. This differs con-
ceptually from platforms using tunable couplers (where an additional physical element’s coupling strength between
two qubits is actively, dynamically adjusted to turn an entangling interaction on and off on demand) – cross-resonance
instead achieves entanglement using fixed-frequency qubits and a fixed physical coupling, driven cleverly through
frequency-selective microwave pulses, reflecting a specific hardware design trade-off (simpler fixed-frequency qubit
fabrication, at the cost of a comparatively slower, more calibration-sensitive native two-qubit gate) distinct from the
tunable-coupler approach used by other superconducting processor designs.
Source page 14
Quantum Gates Deck 6
Q6.4 What is the Mølmer-Sørensen gate, and why is it particularly well suited as a native entan- gling gate for trapped-ion quantum computing platforms?
The Mølmer-Sørensen gate entangles two or more trapped ions by using laser pulses to couple each ion’s internal
(qubit) state to their shared collective motional mode (the ions’ joint physical vibration within the shared trapping
potential, since ions in the same trap are coupled to each other through mutual Coulomb repulsion) – rather than
directly coupling the ions’ internal states to each other, entanglement is mediated indirectly through this shared
vibrational ”bus.” It’s particularly well suited to trapped-ion systems specifically because ions confined in a shared
trap naturally share collective motional modes as an inherent consequence of their mutual electrostatic repulsion,
giving trapped-ion platforms a naturally available, high-fidelity entangling mechanism that doesn’t require ions to be
placed in unusually close physical proximity the way some other entangling mechanisms might – and, notably, the
Mølmer-Sørensen interaction can in principle be extended to entangle more than two ions simultaneously within a
single gate operation, a flexibility not as naturally available with most two-qubit-only native gates on other hardware
platforms.
Source page 15
Quantum Gates Deck 7
Gate Errors & Fidelity
Gate Errors & Fidelity
Q7.1 What is ”gate fidelity,” and why is fidelity typically much harder to maintain for two-qubit gates than for single-qubit gates on real hardware?
Gate fidelity is a quantitative measure (ranging from 0 to 1) of how closely a physically implemented gate’s actual
effect matches its intended, ideal mathematical operation – a fidelity of 1 would mean the gate performs its intended
unitary transformation perfectly, with no error at all. Two-qubit gates are typically substantially harder to implement
with high fidelity than single-qubit gates because they require precisely engineering an interaction between two
physical qubits (which are usually deliberately isolated from their environment, and from each other, to protect their
individual coherence) – this necessary coupling inherently exposes both qubits to additional noise channels and
calibration sensitivities that simply don’t exist for an isolated single-qubit operation, and real hardware typically
reports two-qubit gate error rates roughly an order of magnitude (or more) higher than single-qubit gate error rates
on the same device.
Q7.2 What is the difference between a ”coherent” gate error and an ”incoherent” (stochastic) gate error, and why does this distinction matter for how errors accumulate across a long circuit?
A coherent error is a small, systematic, deterministic deviation from the intended gate operation (e.g. a calibration
miscalibration causing every application of a supposed 90° rotation to actually implement 91°) – critically, because
it’s systematic and consistent, coherent errors from repeated applications of the same miscalibrated gate can com-
pound and add up coherently across a circuit, sometimes causing the total accumulated error to grow faster than
it would if the same average error magnitude were instead random and uncorrelated from gate to gate. An incoher-
ent (stochastic) error instead represents genuinely random noise (e.g. from environmental decoherence) that varies
unpredictably from one gate application to the next – these tend to accumulate more like a classical random walk,
growing more slowly (proportional to the square root of the number of error-prone operations) than a comparable
systematic coherent error would. This distinction matters practically because it means two gates with the same aver-
age reported fidelity number can behave very differently in a long circuit depending on whether their dominant error
mechanism is coherent or incoherent – a fact that has motivated specific gate-characterization techniques (like ran-
domized benchmarking) designed specifically to help distinguish and separately characterize these two qualitatively
different error types.
Q7.3 What is randomized benchmarking, and why is it used to measure average gate error rather than relying solely on full quantum process tomography?
Randomized benchmarking estimates a platform’s average gate error rate by running many long sequences of ran-
domly chosen gates (typically drawn from the Clifford group) followed by a final gate specifically computed to
ideally return the qubit to its known starting state, then measuring how the resulting success probability decays as the
sequence length increases – fitting this decay curve reveals an average per-gate error rate. This approach is preferred
over full quantum process tomography (which attempts to fully characterize every detail of exactly how a specific
gate deviates from ideal) for practical, everyday hardware characterization because process tomography requires a
number of measurement settings that grows exponentially with the number of qubits involved, becoming rapidly
intractable beyond just a few qubits – while randomized benchmarking’s average-error estimate scales much more
favorably, and is additionally more robust to certain measurement/state-preparation errors that can otherwise bias
tomography-based estimates, at the cost of providing only an aggregate average error figure rather than a complete,
Source page 16
Quantum Gates Deck 7
detailed characterization of the gate’s exact error behavior.
Q7.4 What is crosstalk in the context of multi-qubit gate errors, and why does it become a more significant practical problem specifically as quantum chips scale up to more qubits?
Crosstalk refers to unwanted, unintended interactions or interference between qubits/gates that are not the ones a
particular operation is actually intended to involve – e.g. a microwave pulse intended to drive one specific qubit
inadvertently also weakly disturbing a physically or spectrally nearby qubit, or performing a two-qubit gate on one
pair of qubits unintentionally affecting a third, adjacent qubit’s state through residual physical coupling. This be-
comes a more significant problem specifically as chips scale to more qubits because a larger, more densely packed
chip generally has more physically close neighboring qubits and a wider range of simultaneously operating control
signals, increasing the opportunities for unwanted interactions – and because near-simultaneous operations across
many qubits (needed for reasonably shallow, parallelized circuit execution rather than gates being applied one at a
time on the whole chip) increase the chance of temporally overlapping control pulses interfering with each other,
making crosstalk mitigation (through careful chip layout, frequency allocation, and pulse-shaping techniques) an
increasingly important and active engineering challenge specifically tied to scaling up qubit counts.
Source page 17
Quantum Gates Deck 8
Advanced Gate Constructions
Advanced Gate Constructions
Q8.1 How are the controlled-phase rotation gates used inside the Quantum Fourier Transform circuit constructed, and why does their required rotation angle shrink geometrically as more qubits are involved?
The QFT circuit applies a sequence of controlled-phase gates CRk between pairs of qubits, where each gate applies
a phase rotation of e2πi/2k to the target qubit conditioned on the control qubit being |1⟩– with the specific rotation
angle k depending on how many ”positions” apart the two qubits involved are in the overall register (adjacent qubits
use a comparatively large rotation angle, while qubits far apart in the register use a much smaller, finer rotation
angle). This geometrically shrinking angle directly reflects the Fourier transform’s underlying mathematical structure
– each qubit’s phase contribution needs to be weighted according to its specific ”place value” in representing the
overall binary number encoded across the whole register, exactly analogous to how each digit’s place value shrinks
geometrically (by a factor of the base) in ordinary positional number notation – which is precisely why the QFT
circuit’s specific pattern of controlled-phase gates with systematically decreasing angles, rather than uniform angles,
is required to correctly implement the transform.
Q8.2 What is the Fredkin gate (controlled-SWAP), and how is it, like the Toffoli gate, also univer- sal for reversible classical computation?
The Fredkin gate is a three-qubit gate that swaps the states of two target qubits if and only if a separate control
qubit is |1⟩, leaving all three qubits unchanged if the control is |0⟩. Notably, unlike the Toffoli gate, the Fredkin gate
has the useful property of being inherently ”conservative” – it never changes the total number of qubits in the |1⟩
state (a swap operation trivially preserves the total count of 1s and 0s among the swapped qubits), a property with
some specific practical advantages for certain physical implementations sensitive to net charge or particle-number
conservation. Like the Toffoli gate, it can also be shown to be universal for reversible classical computation on its
own (any classical reversible circuit can be built using only Fredkin gates and ancillas), representing an alternative,
”conservative” universal reversible logic building block distinct from the Toffoli-based approach.
Q8.3 What is a ”magic state,” and how does ”magic state distillation” allow a small number of high-fidelity magic states to be produced from a larger number of noisier ones?
A magic state is a specific single-qubit resource state (most commonly the ”T-state,” √12(|0⟩+ eiπ/4|1⟩)) that, when
consumed via gate teleportation (Section 5), allows a T gate to be applied using only otherwise-cheap Clifford op-
erations – magic states are essential specifically because T gates themselves are comparatively very expensive to
implement directly and reliably within a fault-tolerant, error-corrected framework. Magic state distillation is a
specific protocol that takes several (often a fairly large number, e.g. 10-20 or more) imperfect, noisy magic states
as input and, through a purification circuit built entirely from reliable Clifford operations plus measurement, ”dis-
tills” them down into a smaller number of magic states with substantially higher fidelity than any of the individual
inputs – conceptually similar to entanglement purification (used in quantum networking) but specifically applied
to purifying the magic-state resource needed for non-Clifford gates, and representing one of the most significant,
resource-dominating overhead costs in current estimates of what it will take to run a genuinely useful, large-scale
fault-tolerant quantum algorithm.
Source page 18
Quantum Gates Deck 8
Q8.4 What is a ”parameterized quantum circuit” (PQC) in the context of variational algorithms, and how does the specific choice of which gates are parameterized (versus fixed) shape the circuit’s expressivity?
A parameterized quantum circuit is built from a mix of fixed gates (typically entangling gates like CNOT, whose
action doesn’t depend on any tunable value) and parameterized rotation gates (typically Rx(θ), Ry(θ), or Rz(θ),
whose specific rotation angle θ is a free, adjustable parameter that a classical optimizer tunes during training) – the
overall circuit structure (which gates go where, and which specific angles are made tunable) is called the circuit’s
ansatz (as discussed in the context of VQE/QAOA). The specific choice and placement of parameterized gates di-
rectly determines the range of possible quantum states the circuit can prepare (its ”expressivity”) – an ansatz with
too few parameterized gates, or with parameterized gates placed in a way that limits how much entanglement/super-
position structure can actually be reached, may simply be incapable of representing the desired target state at all no
matter how its parameters are tuned, which is exactly the expressivity-versus-trainability trade-off (discussed in the
Quantum Algorithms deck) that makes ansatz design such a central, still largely empirical challenge in variational
quantum computing.
End of deck.