Foundations of Quantum Computing

  1. 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.

    Undergraduate
  2. Normalizing Two Qubit Amplitudes

    A nonzero amplitude vector can be divided by its Euclidean norm, using squared absolute values for complex components.

    Undergraduate
  3. 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.

    Undergraduate
  4. 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.

    Undergraduate
  5. The X Gate Swaps Computational Basis States

    The X gate exchanges the two computational basis states and swaps their amplitudes in a superposition.

    Undergraduate
  6. The Z Gate Changes One Basis Phase

    The Z gate reverses the sign of the one-state amplitude while keeping the zero-state amplitude.

    Undergraduate
  7. The Hadamard Gate on Zero and One

    Follow how the Hadamard gate sends the two computational basis states to their normalized sum and difference.

    Undergraduate
  8. 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.

    Undergraduate
  9. Applying Two Hadamard Gates

    Two successive Hadamard gates on the same qubit compose to the identity in the ideal circuit model.

    Undergraduate
  10. 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.

    Undergraduate
  11. 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.

    Undergraduate
  12. 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.

    Undergraduate
  13. 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.

    Undergraduate
  14. 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.

    Undergraduate
  15. 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.

    Undergraduate
  16. 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.

    Undergraduate
  17. 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.

    Undergraduate
  18. 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.

    Undergraduate
  19. 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.

    Undergraduate
  20. Two Paths Contributing to One Quantum Outcome

    Amplitudes from coherent alternatives add before computing the final outcome probability. Their relative phases can produce cancellation.

    Undergraduate
  21. The SWAP Gate Exchanges Two Qubit Positions

    The SWAP gate exchanges the two qubit positions and applies the same permutation to every basis amplitude.

    Undergraduate
  22. 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.

    Undergraduate
  23. Uncomputing a Temporary Quantum Register

    A reversible computation can clear temporary information by applying inverse operations after the useful result is transferred appropriately.

    Undergraduate
  24. 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.

    Undergraduate
  25. 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.

    Undergraduate
  26. 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.

    Undergraduate
  27. 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.

    Undergraduate
  28. 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.

    Undergraduate
  29. 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.

    Undergraduate
  30. 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.

    Undergraduate