524 Python modules across 32 subpackages + 171 Rust PyO3 functions in scpn-quantum-engine.
| Package | Modules | Responsibility |
|---|---|---|
| phase | 76 | Time evolution: Trotter, VQE, ADAPT-VQE, VarQITE, AVQDS, QSVT, Floquet DTC, Lindblad, MCWF, ICI + hypergeometric pulse shaping |
| accel | 71 | Measured-fastest-first multi-language acceleration chain (Rust / Mojo / Julia / Go dispatch with a Python floor) |
| hardware | 63 | IBM Quantum runner, trapped-ion backend, GPU offload, circuit cutting, fast sparse evolution, DynQ topology-agnostic qubit mapping |
| analysis | 59 | Synchronisation witnesses, QFI, persistent homology, OTOC, Krylov complexity, magic states, BKT scaling, DLA parity, shot-noise uncertainty |
| benchmarks | 15 | Classical vs quantum scaling, MPS baseline, GPU baseline, AppQSim, quantum advantage |
| bridge | 15 | Knm → Hamiltonian compiler, cross-repo adapters (sc-neurocore, SSGF, phase orchestrator) |
| compiler | 14 | Compiler frontends, interchange formats, and circuit lowering |
| control | 14 | QAOA-MPC, VQLS Grad-Shafranov, Petri nets, ITER disruption, topological optimiser |
| applications | 13 | FMO photosynthesis, power grid, Josephson array, EEG, ITER plasma, quantum EVS |
| mitigation | 13 | ZNE (with propagated uncertainty), PEC, dynamical decoupling, Z2 parity, CPDR, symmetry verification, GUESS symmetry-decay extrapolation |
| qec | 13 | Toric code, surface code, repetition code UPDE, biological surface code, error budget, multiscale QEC |
| crypto | 9 | BB84, Bell tests, topology-authenticated QKD, key hierarchy, spectral fingerprint |
| studio | 8 | SCPN-STUDIO federation surface: capability manifest, evidence schemas, architecture-map emission |
| qsnn | 7 | Quantum spiking neural networks, LIF neurons, STDP, synapses, dynamic coupling, training |
| topology_control | 7 | Constrained persistent-H1 optimisation for coupling graphs |
| identity | 6 | VQE attractor, coherence budget, entanglement witness, fingerprint, binding spec |
| gauge | 5 | U(1) Wilson loops, vortex detection, CFT, universality, confinement, lattice |
| benchmark_harness | 4 | Public open-data and classical-validation benchmark harness |
| dla_parity | 4 | Open-data + classical validation pathway for the DLA-parity dataset |
| entropy | 4 | Quantum random-number generation with NIST SP 800-22 and FIPS 140-2 health checks |
| psi_field | 4 | Lattice gauge theory, infoton dynamics, SCPN mapping, observables |
| ssgf | 4 | SSGF quantum integration, cross-repo wiring |
| cosimulation | 2 | Quantum/classical mean-field co-simulation for large Knm networks |
| fep | 2 | Variational free energy (Friston 2010), predictive coding, hierarchical prediction |
| forecasting | 2 | Forecasting benchmarks for observed synchronisation traces |
| codegen | 1 | Code generation for FPGA pulse deployment |
| deployment | 1 | Cloud-native deployment manifest generation |
| l16 | 1 | Layer 16 quantum director |
| pgbo | 1 | PGBO quantum bridge |
| sensing | 1 | Quantum-sensing models, including high-field NV-centre magnetometry |
| tcbo | 1 | TCBO quantum observer |
| thermodynamics | 1 | Quantum thermodynamics readiness tools for synchronisation transitions |
The 32 subpackages above hold 441 modules; the remaining modules form the top-level package surface, for 524 Python source modules overall. The generated capability inventory is the source of truth for module, class, binding, test, and documentation counts. A further checkout-only research register (paper0) is intentionally excluded from the PyPI wheel and is not counted.
PyO3 cdylib extension module. Edition 2021. ndarray + num-complex + rayon.
| Module | Purpose |
|---|---|
| hamiltonian.rs | XY Hamiltonian construction (5,401× faster than Qiskit) |
| knm.rs | Knm coupling matrix utilities |
| kuramoto.rs | Classical Kuramoto solver (reference baseline) |
| pauli.rs | Pauli string algebra and expectations |
| dla.rs | Dynamical Lie Algebra dimension computation |
| otoc.rs | Out-of-Time-Order Correlators (4.4× faster) |
| krylov.rs | Krylov complexity and basis construction |
| lindblad.rs | Lindblad master equation operators |
| monte_carlo.rs | Monte Carlo Wave Function simulation |
| pec.rs | Probabilistic Error Cancellation |
| gauge_lattice.rs | Ψ-field lattice gauge theory (v0.9.5) |
| fep.rs | Free Energy Principle (Friston 2010) (v0.9.5) |
| concat_qec.rs | Multi-Scale QEC concatenation (v0.9.5) |
| mpc.rs | Model Predictive Control |
| pulse_shaping.rs | ICI three-level pulses (1,665× faster) + (α,β)-hypergeometric envelope (44× vs scipy 2F1) |
| sectors.rs | Symmetry sector analysis, DynQ topology-agnostic qubit placement |
| symmetry_decay.rs | GUESS symmetry-decay extrapolation (arXiv:2603.13060) |
| community.rs | Community detection in coupling graphs |
| complex_utils.rs | Complex number arithmetic |
| validation.rs | Input validation and sanitisation |
[ibm][rust][gpu][jax][tensor][mitigation][topology][opensys]