Docsity

Chapter_20_Quantum_Computing_Fundamentals, Lecture notes of Computer Fundamentals

Toggle sidebar
bg1
AP PL IED CO MPU TI NG • CH AP TER 2 0
Quantum Computing Fundamentals
Qubits, Superposition, Entanglement, Quantum Gates & Cryptographic Impact
1. Classical Bits vs. Quantum Bits (Qubits)
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.
2. Core Quantum Gates & Circuits
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.
3. Applied Algorithms & Post-Quantum Security
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)
•
•
pf2

Partial preview of the text

Download Chapter_20_Quantum_Computing_Fundamentals and more Lecture notes Computer Fundamentals in PDF only on Docsity!

AP PLIED COMPUTING • CH AP T ER 20

Quantum Computing Fundamentals

Qubits, Superposition, Entanglement, Quantum Gates & Cryptographic Impact

1. Classical Bits vs. Quantum Bits (Qubits)

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.

2. Core Quantum Gates & Circuits

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.

3. Applied Algorithms & Post-Quantum Security

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.