The BASIC-s of Quantum Computing: A Complete Syllabus

The BASIC-s of Quantum Computing

A private, non-commercial education series for kids and adults, teaching BASIC programming fundamentals alongside real quantum mechanics concepts.


Overview

This is a 26-session syllabus for teaching quantum computing concepts using BASIC programming on an Atari 800 emulator, combined with a genuine hardware random number generator (servo-driven hourglass + webcam + microphone, whitened via SHA-256).

The series is designed for participants with zero programming background, focusing on conceptual understanding over mathematical rigor. Every quantum concept has corresponding code that students can run and modify.


Course Philosophy

Why BASIC?

BASIC was chosen deliberately:

Concepts Over Rigor

This series prioritizes understanding the ideas over mathematical precision. As stated in the syllabus:

“nothing here is verifiable quantum computing, everything is a concept demonstration”

We’re honest about what’s real mechanism versus visual metaphor.


Session Map

#TopicCore IdeaCode?
1BASIC FundamentalsVariables, PRINT/INPUT, FOR/NEXT, IF/THEN, GOSUB
2Binary & Truth TablesCounting in binary, building static 2-variable truth tables
3Real vs Fake RandomnessRND() pseudo-RNG vs hardware RNG (hourglass/webcam/mic)
4Superposition TablesN-selectable colored truth table that collapses using real RNG
5Entanglement BasicsTwo linked tables, matching-row correlation
6Bell’s Theorem / CHSHSimulating quantum correlation statistics, computing S vs 2 vs 2.828
7The Classical CheatStudents try to beat S=2 with local hidden variables. They can’t.
8The Bloch CircleQubit as DIRECTION, gates as rotations on a circle
9Real Gate MatricesMatrix-vector multiply with real numbers
10Real Grover, N=4Exact oracle + diffusion computation for N=4
11Grover’s RaceClassical linear search vs real Grover
12The AND TrapDebunks fake entanglement from ANDing tables
13XOR FairnessWhy entropy daemon combines sources with XOR
14Pseudo-EntanglementNames lesson 5 as pseudo-entanglement, adds variants
15DecoherenceDiscussion: Why real QC needs cooling, scaling issues
16Physical QubitsSuperconducting loops, trapped ions, photons
17No-CloningProof: Why you can’t backup a qubit like a classical file
18State of the FieldHonest discussion of what QC can/can’t do today
19Nested TablesFirst real TEST: 16-number tensor, check factorability
20Geometric CirclesOriginal structure using geometric probability
21CNOT and Bell StateReal 2-qubit gate, construct entangled state
22More GatesRotation family, SWAP, controlled-Z
23Naive vs Real QMDiscussion: Real-number method breaks on phase-splitting
243-Qubit Bit-Flip CodeReal quantum error correction with CNOT
25The Stabilizer TrickGottesman-Knill theorem, Pauli strings
26BB84 Quantum CryptographyReal, deployed protocol with 25% eavesdropper detection

Hardware Requirements

The Entropy Rig

The course uses a physical hardware random number generator consisting of:

This provides true physical randomness distinct from pseudo-random number generators.

Emulation


Software Components

Python Support Scripts

  1. entropy_daemon.py - Captures entropy from webcam + microphone, whitens via SHA-256
  2. atari_bridge.py - Bridges entropy daemon output to Atari emulator’s R: device
  3. rng_client.py - Client for consuming random bytes

Atari BASIC Programs

26+ BASIC programs including:


Key Pedagogical Insights

Lessons 9-11: The Real Mechanism

Sessions 9-11 (Real Gate Matrices, Real Grover, Grover’s Race) are the only places running the actual quantum mechanism rather than sampling or concept demonstrations. This is explicitly called out to students.

Session 6 & 9: Require Hand-Computation

Bell/CHSH and Real Gate Matrices require actual hand-computation. Budget at least two meetups for each if participants lack math/physics background.

Decoherence vs No-Cloning

The syllabus makes a critical distinction:

Real Numbers vs Complex Numbers

Sessions 9, 10, 19, and 21 restrict to real numbers as a simplification. We’re honest about this:

A 2026 Physical Review Letters paper (Barrios Hita et al.) makes a rigorous case that complex numbers aren’t strictly fundamental to quantum mechanics. Real-number formulations exist that reproduce every experimental prediction. AND this series’ real-number code is narrower than that paper’s general claim.


Notable Achievements

Session 25: Stabilizer Trick

Implements the Gottesman-Knill theorem — tracking 2 Pauli strings instead of 4 amplitudes for the same Bell state. This was the original technical goal stated at the project’s beginning, finally realized once all prerequisite gates (H, CNOT) were built.

Session 26: BB84 Protocol

Teaches a real, currently-deployed quantum cryptography protocol (not speculative). BB84-based quantum key distribution works in real fiber networks today, requiring only single-photon hardware, not large fault-tolerant quantum computers.


Download

The complete syllabus, all lesson materials, and source code are available for download:

Download Complete Syllabus (ZIP, ~137KB)

This download includes:


For Educators

Class Format

Teaching Notes


References


Last updated: August 1, 2026

{{/*