Statevector simulator: prepare and verify a Bell state
notebooks/01-statevector-simulator.ipynb
Mapped chapters: Multi-Qubit Circuits, Bell States and GHZ States, Building a Small Simulator From Scratch
Publication record
Implementation-focused chapters and the reproducibility standard for future standalone quantum computing labs and notebooks.
80 companion artifact entries resolve to local source and a downloadable verification fixture in this publication build.
The downloadable archive uses fixed timestamps for reproducible packaging and includes the tested Python package, its test suite, and eight pre-executed notebooks. Verify the archive against the separately published SHA-256 file before use.
python -m unittest discover -s tests -vThis is a checked-in run record, not a claim that tests execute in every reader environment.
Eight pre-executed Jupyter notebooks exercise the same versioned Python modules as the test suite. Stored output is compared byte-for-byte with a fresh isolated execution during release QA.
notebooks/01-statevector-simulator.ipynb
Mapped chapters: Multi-Qubit Circuits, Bell States and GHZ States, Building a Small Simulator From Scratch
notebooks/02-circuit-semantics.ipynb
Mapped chapters: Circuit Notation as a Programming Language, Controlled Gates and Reversible Classical Computation, Multi-Qubit Circuits
notebooks/03-grover-trace.ipynb
Mapped chapters: Grover and Amplitude Amplification
notebooks/04-line-routing.ipynb
Mapped chapters: Circuit Cost: Depth, Width, Gate Set, Connectivity, Transpilation and Hardware-Aware Compilation
notebooks/05-noise-channels.ipynb
Mapped chapters: Noise Models and Noisy Simulation, Decoherence and Error Channels
notebooks/06-randomized-benchmarking.ipynb
Mapped chapters: Benchmarking Quantum Programs
notebooks/07-surface-code-resources.ipynb
Mapped chapters: Resource Estimation for Fault-Tolerant Algorithms, Surface Codes and Threshold Intuition, Logical Qubits and Reliable Operations
notebooks/08-repetition-code.ipynb
Mapped chapters: Stabilizers and Syndrome Measurement, Repetition, Bit-Flip, Phase-Flip, and Shor Codes, Decoders and Real-Time Classical Control
executable derivation
Used by: Complex Numbers for Quantum Computing
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsexecutable derivation
Used by: Vectors, Bases, and Amplitudes
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsexecutable derivation
Used by: Inner Products, Orthogonality, and Projection
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsexecutable derivation
Used by: Matrices as Gates
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsexecutable derivation
Used by: Unitary Operations and Reversibility
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsexecutable derivation
Used by: Tensor Products and State-Space Growth
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsexecutable derivation
Used by: Observables, Eigenvectors, and Measurement
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsexecutable derivation
Used by: Density Matrices and Mixed States
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactssource code
Used by: Circuit Notation as a Programming Language
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
cd labs && python -m unittest tests.test_simulator -vprotocol fixture
Used by: One-Qubit Gates and the Bloch Sphere
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsprotocol fixture
Used by: Controlled Gates and Reversible Classical Computation
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactssource code
Used by: Multi-Qubit Circuits
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
cd labs && python -m unittest tests.test_simulator -vreproducible run
Used by: Bell States and GHZ States
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
cd labs && PYTHONPATH=src python -m quantum_end_to_end bell --shots 10000 --seed 7protocol fixture
Used by: No-Cloning and Why Copying Breaks Quantum Logic
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactssource code
Used by: Circuit Cost: Depth, Width, Gate Set, Connectivity
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
cd labs && python -m unittest tests.test_companion_models.CompanionModelTests.test_line_router_exposes_swap_cost_and_layout -vprotocol fixture
Used by: Bell Tests and Nonclassical Correlations
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsprotocol fixture
Used by: Superdense Coding
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsprotocol fixture
Used by: Teleportation
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsprotocol fixture
Used by: Quantum Key Distribution
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsalgorithm fixture
Used by: Oracles and Query Complexity
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsalgorithm fixture
Used by: Deutsch, Deutsch-Jozsa, and Bernstein-Vazirani
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactssource code
Used by: Grover and Amplitude Amplification
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
cd labs && python -m unittest tests.test_companion_models.CompanionModelTests.test_one_grover_iteration_finds_one_of_four -valgorithm fixture
Used by: Quantum Fourier Transform
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsalgorithm fixture
Used by: Phase Estimation
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsalgorithm fixture
Used by: Shor as Period Finding
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsalgorithm fixture
Used by: Hamiltonian Simulation
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactsalgorithm fixture
Used by: Variational Algorithms and Their Limits
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_00_35.json --from 0 --through 35 --check-rewritten-sources --execute-artifactslab
Used by: Python and Quantum Programming Workflow
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactslab
Used by: Building a Small Simulator From Scratch
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactslab
Used by: Qiskit, Primitives, and Circuit Execution
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactslab
Used by: Cirq and Alternative Toolchains
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactslab
Used by: Transpilation and Hardware-Aware Compilation
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactslab
Used by: Noise Models and Noisy Simulation
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactslab
Used by: Benchmarking Quantum Programs
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactslab
Used by: Resource Estimation for Fault-Tolerant Algorithms
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactslab
Used by: Reproducible Quantum Labs
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering fixture
Used by: Decoherence and Error Channels
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering fixture
Used by: Error Mitigation vs Error Correction
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering fixture
Used by: Stabilizers and Syndrome Measurement
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering fixture
Used by: Repetition, Bit-Flip, Phase-Flip, and Shor Codes
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering fixture
Used by: Surface Codes and Threshold Intuition
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering fixture
Used by: LDPC, Bosonic, Cat, GKP, and Topological Approaches
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering fixture
Used by: Decoders and Real-Time Classical Control
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering fixture
Used by: Logical Qubits and Reliable Operations
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering fixture
Used by: Why Useful Quantum Computers Are Systems Engineering Projects
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering dossier
Used by: The Full Quantum Computer Stack
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering dossier
Used by: Superconducting Qubits
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering dossier
Used by: Trapped Ions
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering dossier
Used by: Neutral Atoms
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering dossier
Used by: Photonics
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering dossier
Used by: Silicon Spin Qubits
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering dossier
Used by: Cat Qubits and Bosonic Encodings
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering dossier
Used by: Topological Qubits and Evidence Standards
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering dossier
Used by: Cryogenics, Control, Packaging, and Manufacturing
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsengineering dossier
Used by: Quantum-Centric Supercomputing and Hybrid Workflows
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_36_63.json --from 36 --through 63 --check-rewritten-sources --execute-artifactsevidence dossier
Used by: What Makes a Problem Quantum-Suitable?
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsevidence dossier
Used by: Quantum Simulation and Chemistry
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsevidence dossier
Used by: Materials, Energy, and Industrial Science
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsevidence dossier
Used by: Optimization: Where Caution Is Required
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsevidence dossier
Used by: Cryptography, PQC, QKD, and Security Migration
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsevidence dossier
Used by: Quantum Machine Learning and Benchmark Discipline
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsevidence dossier
Used by: Sensing, Navigation, and Adjacent Quantum Technologies
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsevidence dossier
Used by: Application Evidence Levels
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsevidence dossier
Used by: When to Build, Partner, Wait, or Avoid
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsdiligence dossier
Used by: The Quantum Company Landscape
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsdiligence dossier
Used by: Hardware Modality Diligence
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsdiligence dossier
Used by: Software and Developer-Platform Diligence
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsdiligence dossier
Used by: Error-Correction-Stack Diligence
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsdiligence dossier
Used by: Application-Company Diligence
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsdiligence dossier
Used by: Supply-Chain and Infrastructure Diligence
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsdiligence dossier
Used by: Market Timing and Wedge Selection
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsdiligence dossier
Used by: Moats, Partnerships, and Standards
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsdiligence dossier
Used by: Reading Roadmaps Like an Operator
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsdiligence dossier
Used by: Investment Memo and Startup Thesis Templates
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactscapstone artifact
Used by: Full-Stack Algorithm Trace
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactscapstone artifact
Used by: Hardware-Constrained Lab
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactscapstone artifact
Used by: Application Evidence Dossier
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactscapstone artifact
Used by: Company Diligence Memo
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactscapstone artifact
Used by: Public Playground MVP
Download runnable fixture (.py) · Verification record (.json)
Reproduce or test
python3 tools/validate_briefs.py --briefs data/editorial_briefs_64_87.json --from 64 --through 87 --check-rewritten-sources --execute-artifactsA standalone lab should record its environment, exact command, dependency versions, seed where randomness matters, expected output, classical baseline, and known limitation. A visible Lab or Notebook action appears on a chapter only when its declared local source resolves.