MathGod Learn: Bits are strictly 0 or 1, discrete. Qubits are vectors in \(\mathbb{C}^2\), continuous. \(\mathbb{C} \cong \mathbb{R}^2\), hence \(\mathbb{C}^2 \cong \mathbb{R}^4\). Expanding \(\alpha = a_1 + a_2i\) and \(\beta = b_1 + b_2i\), qubits live on a unit hypersphere in \(\mathbb{R}^4\). State: \(|\psi\rangle = \alpha|\mathit{0}\rangle + \beta|\mathit{1}\rangle\) with \(|\alpha|^2 + |\beta|^2 = 1 = a_1^2 + a_2^2 + b_1^2 + b_2^2\), e.g. \( |+\rangle = \frac{1}{\sqrt{2}}|\mathit{0}\rangle + \frac{1}{\sqrt{2}}|\mathit{1}\rangle \).
State Expansion \((a_1 + a_2 i)|\mathit{0}\rangle + (b_1 + b_2 i)|\mathit{1}\rangle\):
The Computational Basis Kets in \(\mathbb{C}^2\)
3D Isometric Projection of the 4D State
\(X = a_1, \quad Y = a_2 + b_1, \quad Z = b_2\)
Why does \(|\psi\rangle\) extend beyond the 3D sphere?
The original 4D quantum state is normalized (\(|\alpha|^2 + |\beta|^2 = 1\)), but dropping down to 3D dimensions causes components to compress and mix. Since the \(Y\) axis merges the imaginary part of \(\alpha\) and the real part of \(\beta\), the resulting 3D squared length is:
The Hermitian Conjugate \((\dagger)\)
Drag \(\alpha\) to see its conjugate \(\alpha^*\).
Dynamic Inner Product (The Bracket)
\(| \phi \rangle\) = Column \(\begin{pmatrix} c \\ d \end{pmatrix}\)
\(\langle \psi | \mathit{0} \rangle = (\alpha^*)(1) + (\beta^*)(0) = \alpha^*\)
Core Axioms
- Computational Basis is Orthonormal:
\(\langle \mathit{0} | \mathit{0} \rangle = \langle \mathit{1} | \mathit{1} \rangle = 1\), and \(\langle \mathit{0} | \mathit{1} \rangle = \langle \mathit{1} | \mathit{0} \rangle = 0\) - States must be Normalized:
\(\langle \psi | \psi \rangle = |\alpha|^2 + |\beta|^2 = 1\) - Hadamard Superposition Bases:
\(|+\rangle = \frac{|\mathit{0}\rangle + |\mathit{1}\rangle}{\sqrt{2}} = \frac{1}{\sqrt{2}}\begin{pmatrix} 1 \\ 0 \end{pmatrix} + \frac{1}{\sqrt{2}}\begin{pmatrix} 0 \\ 1 \end{pmatrix} = \begin{pmatrix} \frac{1}{\sqrt{2}} \\ \frac{1}{\sqrt{2}} \end{pmatrix}_{\mathbb{C}^2} \cong \begin{pmatrix} \frac{1}{\sqrt{2}} \\ 0 \\ \frac{1}{\sqrt{2}} \\ 0 \end{pmatrix}_{\mathbb{R}^4} \)
\(|-\rangle = \frac{|\mathit{0}\rangle - |\mathit{1}\rangle}{\sqrt{2}} = \frac{1}{\sqrt{2}}\begin{pmatrix} 1 \\ 0 \end{pmatrix} - \frac{1}{\sqrt{2}}\begin{pmatrix} 0 \\ 1 \end{pmatrix} = \begin{pmatrix} \frac{1}{\sqrt{2}} \\ -\frac{1}{\sqrt{2}} \end{pmatrix}_{\mathbb{C}^2} \cong \begin{pmatrix} \frac{1}{\sqrt{2}} \\ 0 \\ -\frac{1}{\sqrt{2}} \\ 0 \end{pmatrix}_{\mathbb{R}^4} \)Notation Note: Because a ket represents a state vector in Hilbert space and not a scalar number, \(|\mathit{0}\rangle + |\psi\rangle \neq |\psi\rangle\) in most situations. The state \(|\mathit{0}\rangle\) is a basis vector, not an additive zero!
Inner Product Summary
Interactive Proof of Orthogonality
⚡ Interactive Quantum Gate Sandbox
Pauli-X (NOT Gate)
Swaps \(|\mathit{0}\rangle \leftrightarrow |\mathit{1}\rangle\). Geometrically: reflects across the diagonal \(y=x\).
Pauli-Z (Phase Flip)
Flips sign of \(|\mathit{1}\rangle\). Geometrically: reflects across the \(|\mathit{0}\rangle\) axis.
Hadamard (H Gate)
Creates superposition. Geometrically: reflects across \(22.5^\circ\).
Born's Measurement Rule
For \(|\psi\rangle = \alpha|\mathit{0}\rangle + \beta|\mathit{1}\rangle\): \(P(0) = |\alpha|^2\) and \(P(1) = |\beta|^2\).
Multi-Qubit Registers
Entangled Bell State: \(|\Phi^+\rangle = \frac{|00\rangle + |11\rangle}{\sqrt{2}}\)
🔗 The Quantum Threat to Baby Bitcoin (Shor's Algorithm)
Baby Bitcoin relies on discrete logarithms and factoring \(N = pq\). Quantum computers evaluate modular exponentiation in parallel across an entire register in superposition:
\(\xrightarrow{\text{QFT}} \text{Period } r \implies \gcd(a^{r/2} \pm 1, N) = p, q\)
Quantum Fourier Transform extracts the period in \(O((\log N)^3)\) time, forging private key signatures and bypassing classical SHA-256 geometric mining waste!
Q1: What is \(\langle \mathit{0} | + \rangle\)?
Q2: Result of \((|\mathit{0}\rangle \langle \mathit{1}|) |\mathit{1}\rangle\)?
Q3: If \(|\psi\rangle = \frac{\sqrt{3}}{2}|\mathit{0}\rangle + \frac{1}{2}|\mathit{1}\rangle\), \(P(0)\)?
🎉 Ready for Quantum Simulation?
You have mastered Dirac Bra-Ket notation. Launch MathGod's Google Quantum AI / Cirq Simulator to experiment with multi-qubit Hadamard, CNOT, and QFT circuits!
⚡ Launch Quantum AI Simulator