QubitTürk · Quantum Science, Technology & AcademyQubitTürkAbout
Sign In / Join Free
ACADAcademy LessonLive · Interactive Course & ExamQubitTürk Academy — Open-Science Curriculum

01 · Linear Algebra & Hilbert Space Foundations

Dirac bra-ket algebra, complex inner-product spaces, unitary Pauli/Hadamard gates, Bloch geometry, and tensor products.

~6h3 Lessons5 SM-2 Cards2 Circuit-ercise8 Exam Qs (≥80%)
Complex Hilbert space vector manifolds, unitary transformations, and tensor product geometry.

MODULE OVERVIEW

Builds the exact finite-dimensional complex linear algebra underlying quantum information—from Dirac kets, dual bras, and outer-product projectors to SU(2) Bloch rotations, Kronecker tensor products, and Bell-state synthesis.

Prerequisites

  • Introductory complex numbers (z = a + ib and Euler’s identity e^{iθ} = cosθ + i sinθ)
  • Basic 2×2 matrix multiplication and trigonometry

Learning Outcomes

  • Compute inner products, outer-product projectors, and basis expansions fluently across ℂ² and (ℂ²)⊗ⁿ.
  • Analyze single-qubit unitary gates (X, Y, Z, H, S, T) both algebraically and as rotations on the Bloch sphere.
  • Evaluate Kronecker tensor products and CNOT circuits to distinguish separable states from maximally entangled Bell pairs.
LESSON 01.1 · ~35 minOpen Circuit in Qubit Lab ↗

Complex Amplitudes, Dirac Notation & Hilbert Space

Axiomatic structure of ℂ², sesquilinear inner products ⟨φ|ψ⟩, orthonormal bases, and outer-product projectors.

|ψ⟩ = α|0⟩ + β|1⟩ ∈ ℂ², |α|² + |β|² = 1⟨φ|ψ⟩ = α_φ* α_ψ + β_φ* β_ψ, ⟨ψ|ψ⟩ = 1|0⟩⟨0| + |1⟩⟨1| = |+⟩⟨+| + |−⟩⟨−| = I₂

1. From Classical Probabilities to Complex Hilbert Space

|0⟩ = [1, 0]ᵀ,   |1⟩ = [0, 1]ᵀ,   |ψ⟩ = α|0⟩ + β|1⟩ = [α, β]ᵀ   (α, β ∈ ℂ)

In classical probability theory, a two-outcome coin is described by a stochastic vector (p₀, p₁) of non-negative reals obeying the L₁ normalization p₀ + p₁ = 1. Quantum mechanics replaces non-negative probabilities with complex probability amplitudes: the pure state of a single qubit is a unit vector |ψ⟩ in the two-dimensional complex Hilbert space ℋ = ℂ² governed by Euclidean L₂ normalization.

In Paul Dirac’s bra-ket formalism, the computational basis {|0⟩, |1⟩} maps to standard column vectors. Because α, β ∈ ℂ carry phase angles alongside magnitudes, normalization requires |α|² + |β|² = α*α + β*β = 1. This shift from L₁ real probabilities to L₂ complex amplitudes is the mathematical origin of wave-like interference in discrete information processing.

2. Dual Bras, Inner Products & Orthogonality

⟨φ| = (|φ⟩)† = [φ₀*, φ₁*],   ⟨φ|ψ⟩ = φ₀*ψ₀ + φ₁*ψ₁ = (⟨ψ|φ⟩)*

Every ket |φ⟩ = [φ₀, φ₁]ᵀ possesses a Hermitian-conjugate dual row vector called a bra: ⟨φ| = (|φ⟩)† = [φ₀*, φ₁*]. Complex conjugation of the bra entries is essential; without it, the state |ψ⟩ = [i, 0]ᵀ would yield i² = −1 rather than a strictly non-negative squared length.

Following standard physics convention, the sesquilinear inner product ⟨φ|ψ⟩ is conjugate-linear in the left slot (⟨cφ|ψ⟩ = c*⟨φ|ψ⟩) and linear in the right slot (⟨φ|cψ⟩ = c⟨φ|ψ⟩). States satisfying ⟨φ|ψ⟩ = 0 are orthogonal and perfectly distinguishable by a single measurement—such as the Hadamard basis pair:

|+⟩ = (|0⟩ + |1⟩) / √2,    |−⟩ = (|0⟩ − |1⟩) / √2
⟨+|−⟩ = ½ (⟨0|0⟩ − ⟨0|1⟩ + ⟨1|0⟩ − ⟨1|1⟩) = ½ (1 − 0 + 0 − 1) = 0

3. Outer Products, Projectors & Resolution of the Identity

Π_ψ = |ψ⟩⟨ψ|,   Π_ψ² = Π_ψ = Π_ψ†,   ∑ᵢ |eᵢ⟩⟨eᵢ| = I

Whereas the inner product ⟨φ|ψ⟩ contracts row against column to produce a complex scalar, reversing the order yields the outer product |φ⟩⟨ψ|—a column-by-row matrix representing a linear operator on ℋ. When ⟨ψ|ψ⟩ = 1, the operator Π_ψ = |ψ⟩⟨ψ| is an orthogonal rank-1 projector satisfying idempotence (Π_ψ² = Π_ψ) and Hermiticity (Π_ψ† = Π_ψ).

Summing projectors over any complete orthonormal basis {|eᵢ⟩} produces the identity operator—the completeness relation ∑ᵢ |eᵢ⟩⟨eᵢ| = I. Inserting this resolution of the identity converts basis changes into effortless algebraic projections: |ψ⟩ = I|ψ⟩ = ∑ᵢ |eᵢ⟩⟨eᵢ|ψ⟩ = ∑ᵢ cᵢ|eᵢ⟩ with cᵢ = ⟨eᵢ|ψ⟩.

SM-2 ACTIVE RECALL PROMPTS (2)

In the physics convention, how does a complex scalar factor out of ⟨c·φ | ψ⟩, and why is complex conjugation mandatory?

What is the completeness relation for an orthonormal basis {|eᵢ⟩}, and what mathematical object is |eᵢ⟩⟨eᵢ|?

LESSON 01.2 · ~40 minOpen Circuit in Qubit Lab ↗

Unitary Operators, Pauli Algebra & the Bloch Sphere

Unitary norm preservation (U†U = I), canonical single-qubit gates (X, Y, Z, H, S, T), and SU(2) → SO(3) Bloch rotations.

U†U = UU† = I ⇔ ⟨Uφ|Uψ⟩ = ⟨φ|U†U|ψ⟩ = ⟨φ|ψ⟩X² = Y² = Z² = I, XY = iZ, HXH = Z, HZH = X|ψ⟩ = cos(θ/2)|0⟩ + e^{iφ} sin(θ/2)|1⟩, R_n̂(γ) = cos(γ/2)I − i sin(γ/2)(n̂·σ⃗)

1. Unitarity & Reversible Quantum Logic

‖U|ψ⟩‖² = ⟨ψ|U†U|ψ⟩ = ⟨ψ|ψ⟩ = 1  (∀ |ψ⟩ ∈ ℋ)   ⇔   U†U = I

Any valid closed-system evolution U must map normalized states to normalized states. Requiring ⟨ψ|U†U|ψ⟩ = ⟨ψ|ψ⟩ across all vectors in ℋ is algebraically equivalent to unitarity: U†U = UU† = I. Unlike irreversible classical gates such as AND or OR that erase input bits, every unitary quantum gate is strictly invertible via its adjoint U⁻¹ = U†, preserving inner products, angles, and von Neumann entropy.

2. Pauli Matrices, Hadamard & the Phase Hierarchy

X = [[0,1],[1,0]],  Y = [[0,−i],[i,0]],  Z = [[1,0],[0,−1]],  H = (1/√2)[[1,1],[1,−1]]

The four operators {I, X, Y, Z} form an orthogonal operator basis for all 2 × 2 complex matrices. The non-identity Pauli matrices are simultaneously Hermitian (σᵢ† = σᵢ) and unitary involutions (σᵢ² = I), pairwise anticommuting (XZ = −ZX) with cyclic commutators [X, Y] = 2iZ.

GateMatrixBasis ActionKey Identity
X[[0, 1], [1, 0]]Bit flip: |0⟩ ↔ |1⟩X² = I
Z[[1, 0], [0, −1]]Phase flip: |1⟩ → −|1⟩Z = S² = T⁴
H(1/√2)[[1, 1], [1, −1]]|0⟩ → |+⟩, |1⟩ → |−⟩HXH = Z, H² = I
S, Tdiag(1, i), diag(1, e^{iπ/4})π/2 and π/4 relative phase shiftsT² = S, S† = Z·S

3. Bloch Sphere Geometry & SU(2) Rotation Generators

|ψ⟩ = cos(θ/2)|0⟩ + e^{iφ}sin(θ/2)|1⟩   ↦   r⃗ = (sinθ cosφ, sinθ sinφ, cosθ) ∈ S²

Modding out unobservable global phase (|ψ⟩ ∼ e^{iγ}|ψ⟩) allows choosing α = cos(θ/2) ≥ 0 with 0 ≤ θ ≤ π and 0 ≤ φ < 2π. Notice the crucial half-angle θ/2 factor: orthogonal Hilbert-space states such as |0⟩ (θ = 0) and |1⟩ (θ = π) lie at antipodal poles 180° apart on the Bloch sphere rather than 90°.

Exponentiating Pauli generators produces continuous Bloch rotations R_n̂(γ) = exp(−iγ n̂·σ⃗ / 2) = cos(γ/2)I − i sin(γ/2)(n̂·σ⃗). Rotating by γ = 2π yields R_n̂(2π) = −I, requiring 4π to recover +I—manifesting the double-cover spinor topology of SU(2) over SO(3).

SM-2 ACTIVE RECALL PROMPTS (2)

What single-qubit gates do the Hadamard conjugations H·X·H and H·Z·H simplify to?

By what geometric angle are the orthogonal states |0⟩ and |1⟩ (⟨0|1⟩ = 0) separated on the Bloch sphere?

LESSON 01.3 · ~40 minOpen Circuit in Qubit Lab ↗

Tensor Products, Composite Spaces & the CNOT Matrix

Kronecker products ℋ_A ⊗ ℋ_B, 2ⁿ state-space scaling, controlled-unitary matrices, and separability criteria.

dim((ℂ²)⊗ⁿ) = 2ⁿ, (A ⊗ B)(|u⟩ ⊗ |v⟩) = (A|u⟩) ⊗ (B|v⟩)|ψ⟩ = c₀₀|00⟩ + c₀₁|01⟩ + c₁₀|10⟩ + c₁₁|11⟩ ayrılabilir ⇔ c₀₀c₁₁ = c₀₁c₁₀CNOT = |0⟩⟨0| ⊗ I + |1⟩⟨1| ⊗ X

1. Tensor Products & Exponential State-Space Scaling

|a⟩ ⊗ |b⟩ ≡ |ab⟩,   ℋ_n = ℂ² ⊗ ℂ² ⊗ ⋯ ⊗ ℂ² ≅ ℂ^{2ⁿ}

Whereas classical composite configuration spaces combine additively in parameter count, quantum subsystems combine via the tensor product ℋ_A ⊗ ℋ_B whose dimension multiplies: dim(ℋ_A ⊗ ℋ_B) = dim(ℋ_A) · dim(ℋ_B). Two qubits span the four computational basis states {|00⟩, |01⟩, |10⟩, |11⟩}, and an n-qubit register requires 2ⁿ complex amplitudes—roughly 18.4 exabytes of classical memory at n = 60 in double precision.

Independent local gates act via the Kronecker product rule (A ⊗ B)(|u⟩ ⊗ |v⟩) = (A|u⟩) ⊗ (B|v⟩); applying a Hadamard solely to the first qubit while leaving the second untouched corresponds to the 4 × 4 operator H ⊗ I.

2. Product States vs. Non-Separable Vectors

(α₀|0⟩ + α₁|1⟩) ⊗ (β₀|0⟩ + β₁|1⟩) = α₀β₀|00⟩ + α₀β₁|01⟩ + α₁β₀|10⟩ + α₁β₁|11⟩

Expanding a factorable two-qubit state |ψ_A⟩ ⊗ |ψ_B⟩ reveals that the 2 × 2 coefficient matrix C = [[c₀₀, c₀₁], [c₁₀, c₁₁]] has rank 1, which holds if and only if its determinant vanishes: det(C) = c₀₀c₁₁ − c₀₁c₁₀ = 0.

Evaluating this invariant on |Φ⁺⟩ = (|00⟩ + |11⟩)/√2 gives c₀₀ = c₁₁ = 1/√2 and c₀₁ = c₁₀ = 0, so det(C) = ½ ≠ 0. No local states |ψ_A⟩ and |ψ_B⟩ can satisfy α₀β₁ = 0 while keeping α₀β₀ = α₁β₁ = 1/√2; this non-factorability is the exact algebraic signature of entanglement.

3. The CNOT Operator & Bell Basis Synthesis

CNOT(|x⟩ ⊗ |y⟩) = |x⟩ ⊗ |y ⊕ x⟩,   CNOT · (H ⊗ I)|ab⟩ = |β_{ab}⟩

Local product gates A ⊗ B preserve separability and can never create entanglement from a product state. Generating entanglement requires an interacting two-qubit gate such as CNOT (|0⟩⟨0| ⊗ I + |1⟩⟨1| ⊗ X), which flips the target qubit iff the control qubit is |1⟩. Applying CNOT · (H ⊗ I) maps the four computational basis inputs unitarily onto the orthonormal Bell basis of ℂ⁴:

|00⟩  →  |Φ⁺⟩ = (|00⟩ + |11⟩) / √2      |01⟩  →  |Ψ⁺⟩ = (|01⟩ + |10⟩) / √2
|10⟩  →  |Φ⁻⟩ = (|00⟩ − |11⟩) / √2      |11⟩  →  |Ψ⁻⟩ = (|01⟩ − |10⟩) / √2
SM-2 ACTIVE RECALL PROMPTS (1)

What is the necessary and sufficient algebraic condition on the amplitudes for |ψ⟩ = c₀₀|00⟩ + c₀₁|01⟩ + c₁₀|10⟩ + c₁₁|11⟩ to be separable?

HANDS-ON LAB TASKS · CIRCUIT-ERCISE

Auto-Graded Quirk Circuit Synthesis Tasks

Synthesize this module’s target quantum states directly inside the 16-qubit Quirk simulator; our state-vector evaluator verifies global-phase-invariant fidelity F ≥ 0.999.

2 Qubits · BEGINNER

Challenge 01 · Maximally Entangled Bell Pair |Φ⁺⟩

|Φ⁺⟩ = (|00⟩ + |11⟩) / √2

Starting from |00⟩, construct a two-qubit quantum circuit that prepares the maximally entangled Bell state |Φ⁺⟩ = (|00⟩ + |11⟩)/√2.

Solve & Auto-Grade in Qubit Lab ↗
2 Qubits · BEGINNER

Challenge 02 · Singlet Bell State |Ψ⁻⟩

|Ψ⁻⟩ = (|01⟩ − |10⟩) / √2

Design a two-qubit circuit preparing the antisymmetric singlet Bell state |Ψ⁻⟩ = (|01⟩ − |10⟩)/√2 (up to global phase).

Solve & Auto-Grade in Qubit Lab ↗

VERIFIABLE MODULE COMPLETION EXAM · ≥80% PASS THRESHOLD

Module 01 Mastery Exam (8 Questions)

Answering at least 7 of 8 questions correctly (88% ≥ 80%) automatically issues your independent QT-2026-XXXXXX completion credential with a public SHA-256 verification URL.

Sign In Free for Official Exam Grading & Certificate

Sign in to record official attempts in your workspace and receive a personalized QT-2026-XXXXXX completion certificate upon scoring ≥80%.

Sign In / Join Free →
DOIPeer-Reviewed · DOI

Primary Textbooks & Peer-Reviewed Bibliography

  • M. A. Nielsen & I. L. Chuang (2010). Quantum Computation and Quantum Information (10th Anniversary Ed., Ch. 2.1). Cambridge University Press.

    Canonical textbook treatment of finite-dimensional Hilbert spaces, Pauli algebra, and unitary operators.

    https://doi.org/10.1017/CBO9780511976667 ↗
  • J. Watrous (2018). The Theory of Quantum Information (Ch. 1). Cambridge University Press.

    Mathematically rigorous treatment of complex Euclidean spaces, tensor products, and operator decompositions.

    https://doi.org/10.1017/9781316848142 ↗
  • A. Matuschak & M. A. Nielsen (2019). Quantum Computing for the Very Curious (Quantum Country). quantum.country.

    Pioneering mnemonic-medium essay integrating spaced-repetition recall prompts into quantum computing pedagogy.

    https://quantum.country/qcvc ↗