

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


AP PLIED COMPUTING • CH AP T ER 20
Qubits, Superposition, Entanglement, Quantum Gates & Cryptographic Impact
While a classical transistor holds a definite 0 or 1 , a qubit leverages quantum mechanics to exist in a linear combination of both states until measured.
Superposition: Represented as |ψ⟩ = α|0⟩ + β|1⟩, where |α|² + |β|² = 1 gives the probability of measuring 0 or 1. Entanglement: Correlating two or more qubits so measuring one immediately determines the state of its partner, regardless of physical distance. Wavefunction Collapse: Measuring a qubit forces it into a classical 0 or 1, destroying its superposition state.
Figure 20.1 — Hadamard (H) + CNOT Circuit Creating an Entangled Bell Pair
Hadamard Gate (H): Places a basis qubit into an equal 50/50 superposition. CNOT Gate: Flips the target qubit if and only if the control qubit is |1⟩, generating entanglement.
Algorithm Problem Solved Impact on Applied Computing Shor's Algorithm Integer factorization & discrete logs
Threatens R SA & ECC encryption; drives Post-Quantum Cryptography (PQC) Grover's Algorithm
Unstructured database search Provides quadratic speedup O(√N); requires doubling symmetric key sizes (e.g., AES-256)
q0: |0⟩ H q1: |0⟩
Bell State (Entangled)
Hardware Challenge: Decoherence Environmental heat and electromagnetic noise cause qubits to lose quantum state rapidly (decoherence), requiring near- absolute-zero dilution refrigerators and quantum error correction codes.