Foundations of Quantum Computing
-
Basis States and Amplitudes of a Qubit
A pure qubit state has two complex amplitudes in a specified orthonormal basis. Their squared magnitudes sum to one.
-
Normalizing Two Qubit Amplitudes
A nonzero amplitude vector can be divided by its Euclidean norm, using squared absolute values for complex components.
-
From Complex Amplitudes to Measurement Probabilities
Measuring in an orthonormal basis gives each basis outcome the squared magnitude of its associated amplitude for a pure state.
-
Global Phase and Relative Phase
Multiplying a whole pure state by the same unit complex factor leaves the physical state unchanged. Changing a relative phase can alter later interference.
-
The X Gate Swaps Computational Basis States
The X gate exchanges the two computational basis states and swaps their amplitudes in a superposition.
-
The Z Gate Changes One Basis Phase
The Z gate reverses the sign of the one-state amplitude while keeping the zero-state amplitude.
-
The Hadamard Gate on Zero and One
Follow how the Hadamard gate sends the two computational basis states to their normalized sum and difference.
-
Measuring Plus and Minus Through a Hadamard
The plus and minus states are the normalized sum and difference of the computational basis. A Hadamard maps them to distinct computational states.
-
Applying Two Hadamard Gates
Two successive Hadamard gates on the same qubit compose to the identity in the ideal circuit model.
-
Gate Order When Operations Do Not Commute
Two gates can yield different output vectors when applied in reverse order. A circuit must specify which gate acts first.
-
The Same State Measured in Two Bases
An outcome distribution is defined with respect to the chosen measurement basis. A basis containing the state can give one certain outcome.
-
Repeating an Ideal Projective Measurement
An ideal projective measurement gives an outcome and a corresponding updated state. Repeating the same measurement immediately gives the same outcome under the ideal model.
-
Unitary Gates Preserve the State Norm
An ideal closed-system quantum gate is unitary. It preserves inner products, and in particular takes unit vectors to unit vectors.
-
Forming the Product State of Two Qubits
Two independently specified pure states form a product state whose basis amplitudes multiply in a declared basis order.
-
Basis Labels and Indices for Two Qubits
A two-qubit computational basis has four outcomes. A simulation representation must say how those labels correspond to array positions.
-
Controlled NOT on Computational Basis States
Controlled NOT keeps its control label and flips the target label exactly when the control is one under the chosen qubit ordering.
-
Creating a Bell Pair with Two Gates
A Hadamard on one qubit followed by controlled NOT can turn a two-qubit zero state into a correlated pure state.
-
Correlated Outcomes and a Correlated Pure State
A quantum pure state and a classical mixture can give the same measured probabilities in one basis while differing under other operations.
-
Reading One Qubit from a Bell Pair
A single qubit of a Bell pair can have random computational-basis outcomes even though reading both reveals perfect correlation in that basis.
-
Two Paths Contributing to One Quantum Outcome
Amplitudes from coherent alternatives add before computing the final outcome probability. Their relative phases can produce cancellation.
-
The SWAP Gate Exchanges Two Qubit Positions
The SWAP gate exchanges the two qubit positions and applies the same permutation to every basis amplitude.
-
Reversible XOR with a Retained Input
An XOR update can be reversible when one input is retained and the target is changed by its XOR with that input.
-
Uncomputing a Temporary Quantum Register
A reversible computation can clear temporary information by applying inverse operations after the useful result is transferred appropriately.
-
Why a Single Gate Cannot Clone Every Pure State
A transformation can copy known basis labels to a blank register, but linearity constrains what that same operation does on superposed inputs.
-
Estimating an Outcome Probability from Shots
A shot usually prepares and measures one instance of a circuit under a specified experiment, yielding one observed outcome.
-
Rotation Through an Intermediate Qubit State
A rotation can smoothly mix the two basis amplitudes. Its angle and matrix convention determine the input and output relationship.
-
How State-Vector Size Grows with Qubit Count
Count the amplitudes in a full state vector and calculate how adding one qubit changes its storage cost.
-
Coherent Control and Control After a Read
A controlled quantum gate can transform a combined state while preserving coherence under the ideal model. Measuring a control and choosing later action describes another process.
-
Tracing a Circuit in Its Declared Order
A circuit drawing and a matrix product can write composition in conventions that look reversed. Identify the first operation before combining their results.
-
Checking a Small Quantum Simulator with Known States
A simulator can be verified with known state-vector entries and ideal measurement probabilities on a small circuit.