1. Introduction and project goal
Q-PBOS is an experimental computing system aimed at investigating the hypothesis of controlling the probabilistic distribution of macroscopic events through the precise application of quantum perturbations in chaotic dynamical systems.
Fundamental assumption: Reality is understood as a dynamic probability tree. The system does not violate physical laws, but utilizes the intrinsic instability of chaotic attractors to selectively amplify desired probabilistic paths.
2. Alternative architectural approaches
Before the final design decision, four classes of theoretical models were evaluated:
A — Chaos Amplification (Butterfly Effect)
Quantum perturbations in the Lorenz attractor. Exponential divergence growth governed by λmax > 0.
Advantages: mathematical verifiability, configurable magnitude, two distinguishable timelines.
Disadvantages: deterministic RK4 — with a simulator, lacks authentic quantum nature.
B — Uncertainty-Based Steering (Heisenberg)
Gaussian wave packet; Heisenberg uncertainty principle.
Disadvantages: thermal decoherence τd ∼ 10−13 s at T = 300 K; wave packet dispersion impossible to arrest without cryogenics.
C — Entanglement Network (Bell States)
Network of entangled qubits modeling spatial event correlations.
Disadvantages: No-Communication Theorem (Eberhard, 1978) — quantum correlations do not transmit information; decoherence ∼ 10−13 s.
D — Stochastic Resonance
Optimal Gaussian noise amplifies subsensory signals (Benzi et al., 1982).
Disadvantages: requires fragile tuning of σopt; lacks a "trajectory switching" mechanism — acts as a modulator, not a decider.
3. Mechanism 1: quantum entropy source
Module: qpbos/src/quantum_source.py → class QuantumEntropy
The Hadamard gate H is a single-qubit unitary quantum gate (H† = H, H2 = I):
from qiskit import QuantumCircuit
qc = QuantumCircuit(1, 1)
qc.h(0) # Hadamard gate → superposition |+⟩
qc.measure(0, 0) # Measurement → collapse → bit ∈ {0, 1}
4. Mechanism 2: Lorenz attractor and butterfly effect
Module: qpbos/src/chaos_engine.py → class LorenzSystem
Edward Lorenz (1963) described atmospheric convection using three coupled non-linear ODEs:
RK4 numerical integration with timestep dt = 0.01 (local truncation error O(dt5)):
Lyapunov exponent λmax ≈ 0.9056 (Sparrow, 1982):
| Time t | |δ(t)| (δ₀ = 1e-10, λ = 0.9056) | Physical Scale |
|---|---|---|
| 0 | 1.00 × 10⁻¹⁰ | sub-quantum |
| 5 | ≈ 8.7 × 10⁻⁹ | molecular |
| 10 | ≈ 7.6 × 10⁻⁷ | micro |
| 20 | ≈ 5.7 × 10⁻³ | meso |
| 25 | ≈ 5.0 × 10⁻¹ | MACRO ✓ |
Exponential Divergence (Butterfly Effect)
Analytical logarithmic divergence profile of the Lorenz dynamical system illustrating the Lyapunov predictability horizon:
5. Mechanism 3: quantum Zeno effect
Module: qpbos/src/state_locker.py → class StateLockDaemon
The Zeno effect (Misra & Sudarshan, 1977): an unstable quantum system observed with frequency ω → ∞ tends to remain "frozen".
| Quantum Concept | Implementation in Code |
|---|---|
| "Observation" | Logging to divergence.log + checkpoint.json |
| "Quantum state" | Phase divergence Δ(t) between timelines |
| "Freezing" | Inhibiting relaxation Δ(t) → 0 |
| "Decoherence" | Lorenz ergodicity: without daemon both trajectories cover the same attractor |
6. Mechanism 4: resonance field and phase coherence
Module: qpbos/src/resonance.py → class ResonanceField
| Metaphysical Concept | Physical Implementation (Q-PBOS) |
|---|---|
| "Vibration" | Vector î in phase space ℝ³ |
| "Resonance" | coherence = cos(θ_intent, θ_state) |
| "Manifestation" | Expansion of Δ(t) → trajectory shift |
| "Resistance" | coherence < 0 → destructive interference |
7. Mechanism 5: Q-LDPC error-correction codes
Module: qpbos/src/qldpc.py → class QLDPC
LDPC codes (Gallager, 1962) define a sparse parity-check matrix H ∈ ℝm×n, m < n:
H = sparse_random(2, 3, density=0.2, format='csr')
# Row normalization: H = H / row_sums
s = H.dot(state_experimental) # Syndrome s ∈ ℝ²
Quantum Noise Generator (QuantumNoiseGenerator)
Module: qpbos/src/quantum_source.py → class QuantumNoiseGenerator
Q-PBOS applies the Depolarizing Channel model from Qiskit Aer to generate physically motivated quantum noise:
# Depolarizing Channel via Qiskit Aer
dep_error = depolarizing_error(p_error=0.01, num_qubits=1)
noise_model.add_all_qubit_quantum_error(dep_error, ['h'])
backend = AerSimulator(noise_model=noise_model)
# Each noise dimension: 1024 shots → 1 float
Hybrid BP-OSD Decoder
Module: qpbos/src/stabilizer.py → class StabilizerAgent
Two-stage decoding strategy:
If BP converges (‖sresidual‖ < ε): returns the BP correction.
If not: activates deterministic order-0 OSD Gaussian elimination over GF(2).
Directed Decoherence
Exponential decoherence replaces linear strategy weight decay:
Increasing divergence (ΔD > 0) rapidly dampens ineffective correction patterns. For ΔD = 1.0: e−1.5 ≈ 0.223 — weight drops by ~78%.
8. System architecture: RealityKernel
Module: qpbos/src/kernel.py → class RealityKernel
The system maintains two concurrent simulations of the Lorenz attractor:
9. Knowledge base: IntentKnowledgeBase
Module: qpbos/src/intent_knowledge_base.py
10. Module mapping
| Physical Concept | Module | Class | Role |
|---|---|---|---|
| Quantum Entropy / Hadamard | quantum_source.py | QuantumEntropy | Generation of state "nudges" |
| Butterfly Effect / Lorenz | chaos_engine.py | LorenzSystem | Amplification to macro scale |
| Quantum Zeno Effect | state_locker.py | StateLockDaemon | Preserving Δ(t) |
| Phase Coherence | resonance.py | ResonanceField | Alignment measurement |
| LDPC Error Correction | qldpc.py | QLDPC | State stabilization |
| Divergence / Orchestration | kernel.py | RealityKernel | Two timelines, Δ(t) |
| Active Stabilization | stabilizer.py | StabilizerAgent | Correction via syndrome (BP-OSD) |
| Quantum Noise | quantum_source.py | QuantumNoiseGenerator | Depolarizing Channel |
| Success Learning | intent_knowledge_base.py | IntentKnowledgeBase | Feedback loop + suggestions |
11. NVIDIA CUDA-Q acceleration
Hardware Architecture and NVIDIA CUDA-Q 0.16.0 Stack
The quantum computing layer in QPBOS is powered by NVIDIA CUDA-Q version 0.16.0. Workloads execute on the NVIDIA Blackwell architecture with compute capability sm_120, hosted on an RTX 5070 Laptop GPU equipped with 8151 MiB VRAM and running on driver branch 570+.
The architecture integrates four simulation targets:
nvidia— GPU statevector simulation in full complex precision,tensornet— cuTensorNet tensor network simulator optimizing general entanglement topologies,tensornet-mps— Matrix Product State simulator using SVD truncation,qpp-cpu— baseline single-threaded CPU reference implementation.
Multi-Target Router and VRAM Memory Guardrails
The backend router selects the optimal execution target based on qubit count and analytical memory bounds. Two strict guardrails protect host system stability:
All circuits execute exclusively from a closed, parameterized template catalog — the runtime rejects arbitrary external quantum intermediate representations (IR).
correlated_entropy Kernel and Empirical Benchmarks
The correlated_entropy kernel utilizes parameterized GHZ blocks to steer lag-1 bitstream autocorrelation. Empirical measurements on a 24-qubit register:
- coupling 0 (separable product state) → lag-1 autocorrelation: −0.008
- coupling 3 (localized GHZ blocks) → lag-1 autocorrelation: +0.716
- coupling 23 (fully coupled register) → lag-1 autocorrelation: +0.991
Measured execution runtimes recorded on the NVIDIA RTX 5070 Laptop (sm_120):
| Simulation Target | Circuit Topology | Measured Execution Time |
|---|---|---|
| Statevector (target nvidia) | GHZ State 26 qubits | ~75 ms |
| TensorNet (target tensornet) | GHZ State 30 qubits | ~417 ms |
| Matrix Product State (MPS) | GHZ State 50 qubits | ~16.9 s |
| MPS (target tensornet-mps) | Linear Entangler 50 qubits | ~25.5 s |
* Timings of ~17–25 s at 50 qubits on MPS stem from the computational complexity of SVD decomposition during bond dimension truncation (χ ≤ 64) and do not indicate a process hang or failure.
Deterministic BP-OSD Decoder, Circuit Breaker, and Hypnos i1-8B Advisor
The Q-LDPC BP-OSD stabilizer is a deterministic numerical decoder. It is not a language model and it is not AI. All operations execute via linear algebra over the Galois field 𝔽₂ and Tanner graphs.
The client layer incorporates an automatic circuit breaker: after three consecutive errors, it trips to OPEN for 60 seconds and transparently falls back to the software pseudo-RNG without interrupting the master simulation loop.
The Hypnos i1-8B advisory layer is a decoupled, optional analytical module that remains OFF by default. It provides three operational modes: off (total isolation), suggest (passive parameter suggestions), and autotune (autonomous parameter adjustment bounded strictly by a whitelist).
Hypnos i1-8B Model Identity, Parameters, and Execution Runtime
The advisory model is Hypnos i1-8B (8 billion parameters), authored by squ11z1 and distributed under the Apache 2.0 license. Its base foundation model is NousResearch/Hermes-3-Llama-3.1-8B — the Hypnos advisor is neither an autonomous agent architecture nor part of the OpenClaw project.
Hypnos i1-8B is not a QPBOS model. It was created by squ11z1 and released under Apache 2.0, together with the quantum job identifiers that make the provenance of the training data verifiable. The project was announced on r/LocalLLaMA.
Fine-tuning a language model on raw bitstrings measured from GHZ states on physical quantum hardware is not an obvious idea, and it required both access to IBM hardware and work on the fine-tuning process itself. Without that work the QPBOS advisory layer would have nothing to use. Credit is due.
The role of QPBOS is limited to applying an existing model inside an experiment loop. We had no part in creating it and we claim none of its properties.
Within the QPBOS execution environment, the Hypnos model runs 100% on the CPU via the llama.cpp engine using Q8_0 quantization (GGUF, file size 16.07 GB) on an an AMD Ryzen 9 8945HX (16 physical cores, AVX-512 and AVX2), with the engine running on 10 threads — a measured value, not the maximum: at 32 threads throughput drops to 2.8 tokens per second, at 10 it reaches 6.9. The workload is memory-bandwidth bound, so oversubscribing threads hurts rather than helps. This allocation guarantees that GPU VRAM (8151 MiB) remains completely dedicated to NVIDIA CUDA-Q quantum state simulations without resource contention.
Quantum Entropy Fine-Tuning & IBM Quantum Heron GHZ Measurements
Hypnos was fine-tuned using the "Data-Driven Stochastic Regularization via Quantum Entropy" technique. Weight regularization was driven by raw bitstrings from physical measurements of multi-qubit entangled GHZ states generated on IBM Quantum Heron quantum processors featuring 133 and 156 qubits. The training runs utilized quantum job IDs designated by the author: d4gcir92bisc73a3d29g, d4gcoqscdebc73f10g3g, and d4go61olslhc73d0u1ig.
The author highlights this mechanism in the model card: "This injection of 'Out-of-Distribution' quantum data forces the model's attention mechanism to adapt to non-linguistic, high-entropy patterns." Auxiliary supervised training incorporated openai/gsm8k, open-thoughts/OpenThoughts-114k, and nvidia/OpenMathReasoning for multi-step logic, chain-of-thought deduction, and mathematics. According to the author's statement (noted as an author declaration without independent laboratory benchmark verification), Hypnos is the first known language model fine-tuned on raw GHZ state measurement data from over 100 qubits on IBM hardware.
Architectural Rationale and Methodological Disclaimer
The QPBOS correlated_entropy kernel synthesizes parameterized GHZ blocks with deterministic correlation steering. Integrating Hypnos as an advisory system stems from the fact that the model underwent fine-tuning on physical measurements of this precise state class from a physical quantum processor. The Hypnos advisor and the core quantum loop thus process representations of the same signal class: non-linguistic, high-entropy bitstream patterns. This architectural choice represents a design rationale, not a measured advantage — the QPBOS project has not conducted formal comparative evaluations benchmarking Hypnos against models lacking quantum entropy fine-tuning.
12. Measurement rigour: controls, blinding and the invariant measure
This project makes a bold claim, so its control apparatus has to be stricter than in work that claims nothing surprising. This chapter describes the layer built so that the hypothesis can be refuted — not so that it can be confirmed.
12.1 Why orbit divergence is not a result
The Lorenz attractor has a positive Lyapunov exponent, λmax ≈ 0.9056. Any perturbation of the state — including the IEEE 754 rounding error, on the order of 2−52 for double precision — grows exponentially and yields two entirely different trajectories within tens of time units.
Showing that "the trajectories went differently" is therefore a trivial property of deterministic chaos, not a result. A metric that measures orbit divergence measures something settled in advance.
12.2 What is measured instead
The question that does carry meaning is whether the invariant measure on the attractor changes — the probability density of residence across regions of phase space. If the measure does not change, the physical effect is zero, however spectacularly individual orbits diverge.
MMD with a Gaussian kernel
Maximum Mean Discrepancy — a distance between distributions in a reproducing kernel space. The estimator is unbiased, so under the null hypothesis it fluctuates around zero in both directions; a negative sample value is a correct property, not a defect.
Energy distance
The Székely–Rizzo statistic. It vanishes if and only if the compared distributions are identical.
Wasserstein distance W₁
The cost of optimally transporting one measure into the other — sensitive to shifts of probability mass, not only to the shape of the distribution.
Symbolic dynamics
A Poincaré section at z = ρ − 1, with the symbol set by the attractor wing, n-grams and Jensen-Shannon divergence. It reduces a trajectory to a sequence of discrete events.
12.3 Entropy provenance
Every run records, in an immutable manifest, the entropy source actually used rather than the one requested. When the quantum simulation layer fails and the fallback mechanism engages, the run is flagged as contaminated, and a series with a mixed source is rejected from the analysis, not averaged in. The manifest carries a SHA-256 checksum of the bit stream, so substituting data after the fact is detectable.
Without that flag, a silent fallback — sound engineering practice — would be scientifically inadmissible: samples from two different sources would blend with no trace in the data.
12.4 Surrogates — the control that can refute the hypothesis
For every "quantum" stream a classical surrogate is generated with an identical marginal distribution and identical autocorrelation function (the IAAFT algorithm), plus a second, cheaper one reproducing the block structure alone. The simulation runs on both.
The resolution is symmetric, and both outcomes are valuable to the project:
- No significant difference → the hypothesis of a unique influence of quantum correlations is falsified. That is a full scientific result, worth writing up.
- A significant difference → a phenomenon appears that demands explanation, and only then is quantum hardware worth the investment.
A differential equation does not know where the bits came from. If a surrogate with the same statistics produces the same effect, the physical carrier is irrelevant.
12.5 Blinding with a cryptographic commitment
Runs are assigned to arms labelled only A and B. The assignment is deterministic from a passphrase and exactly balanced, and the analysis works on masked labels until the series ends.
Before any data is collected, a commitment is written — a SHA-256 digest covering the arm mapping and the entire label sequence. The commitment file holds the digest alone: never the mapping, the sequence or the salt. The commitment must have both properties at once:
- binding — once written, the assignment cannot be changed unnoticed;
- hiding — the mapping cannot be recovered from the stored file.
Hiding is non-trivial here: the mapping space for two arms is exactly one bit, and the file's remaining fields are public. Without a passphrase-derived salt, an analyst would compute both candidate digests and read off the assignment in two attempts. Security therefore rests directly on the entropy of the passphrase — and the technical documentation says so, rather than implying a stronger guarantee than exists.
12.6 Scale
Comparing measures rather than orbits requires tens of thousands of trajectories per measurement point. Sequential integration put that stage out of reach in reasonable time, so the fourth-order Runge-Kutta integrator was vectorised: a single loop over time steps, the whole population of trajectories advanced in parallel, with an optional GPU backend. Throughput improves by about three orders of magnitude, and agreement with the single-trajectory integrator was confirmed bit for bit.
13. Literature and references
The bibliography is grouped by system layer. Each entry names the chapter and the mechanism that relies on it — the list is meant to be a map from theory to implementation, not a collection of titles. A source that cannot be tied to a specific mechanism does not belong on this list.
Nonlinear dynamics, chaos and ergodic theory
- Lorenz, E.N. (1963). "Deterministic Nonperiodic Flow." Journal of Atmospheric Sciences, 20(2), 130–141.→ ch. 4 — the three-equation system and the attractor the entire dynamical layer runs on.
- Lyapunov, A.M. (1892). The General Problem of the Stability of Motion. (transl. A.T. Fuller, 1992).→ ch. 4 and 12.1 — the exponent λmax, which is why orbit divergence is not a result.
- Sparrow, C. (1982). The Lorenz Equations: Bifurcations, Chaos, and Strange Attractors. Springer.→ ch. 4 — bifurcation structure and wing topology underlying the Poincaré section symbolics.
- Eckmann, J.-P., & Ruelle, D. (1985). "Ergodic theory of chaos and strange attractors." Rev. Mod. Phys., 57(3), 617–656.→ ch. 12.1–12.2 — the basis for measuring the attractor's invariant measure rather than single-trajectory divergence.
- Young, L.-S. (2002). "What Are SRB Measures, and Which Dynamical Systems Have Them?" Journal of Statistical Physics, 108, 733–754.→ ch. 12.2 — the precise notion of the measure the residence density on the attractor converges to.
- Lind, D., & Marcus, B. (1995). An Introduction to Symbolic Dynamics and Coding. Cambridge University Press.→ ch. 12.2 — reducing a trajectory to a symbol sequence and the word (n-gram) distribution compared via JSD.
- Kutta, W. (1901). "Beitrag zur näherungsweisen Integration totaler Differentialgleichungen." Zeitschrift für Mathematik und Physik, 46, 435–453.→ ch. 12.6 — the RK4 scheme that was vectorised across the trajectory population.
- Hairer, E., Nørsett, S.P., & Wanner, G. (1993). Solving Ordinary Differential Equations I: Nonstiff Problems (2nd ed.). Springer.→ ch. 12.6 — order and stability properties underpinning the equivalence check between the ensemble and single-trajectory integrators.
- IEEE (2019). IEEE Standard for Floating-Point Arithmetic (IEEE Std 754-2019).→ ch. 12.1 — the source of the 2−52 perturbation that alone suffices to diverge orbits.
- Benzi, R., Sutera, A., & Vulpiani, A. (1981). "The mechanism of stochastic resonance." J. Phys. A: Math. Gen., 14(11), L453–L457.→ ch. 6 — the mechanism by which noise of a tuned amplitude amplifies a weak sub-threshold signal in a bistable system.
Comparing distributions and methodological controls
- Gretton, A., Borgwardt, K.M., Rasch, M.J., Schölkopf, B., & Smola, A. (2012). "A Kernel Two-Sample Test." Journal of Machine Learning Research, 13, 723–773.→ ch. 12.2 — MMD with a Gaussian kernel and the unbiased estimator that also takes negative values under the null.
- Székely, G.J., & Rizzo, M.L. (2013). "Energy statistics: A class of statistics based on distances." Journal of Statistical Planning and Inference, 143(8), 1249–1272.→ ch. 12.2 — the energy distance, which vanishes if and only if the compared distributions are identical.
- Villani, C. (2009). Optimal Transport: Old and New. Grundlehren der mathematischen Wissenschaften 338, Springer.→ ch. 12.2 — the Wasserstein distance W₁ as the optimal transport cost from one measure to another.
- Lin, J. (1991). "Divergence measures based on the Shannon entropy." IEEE Transactions on Information Theory, 37(1), 145–151.→ ch. 12.2 — the symmetric Jensen-Shannon divergence closing the comparison of symbolic word distributions.
- Theiler, J., Eubank, S., Longtin, A., Galdrikian, B., & Farmer, J.D. (1992). "Testing for nonlinearity in time series: the method of surrogate data." Physica D, 58(1–4), 77–94.→ ch. 12.4 — the surrogate data method as a control capable of falsifying the hypothesis, not merely illustrating it.
- Schreiber, T., & Schmitz, A. (1996). "Improved Surrogate Data for Nonlinearity Tests." Phys. Rev. Lett., 77(4), 635–638.→ ch. 12.4 — the IAAFT algorithm reproducing both the marginal distribution and the autocorrelation function of the stream.
- Fisher, R.A. (1935). The Design of Experiments. Oliver & Boyd, Edinburgh.→ ch. 12.4–12.5 — randomised assignment and the permutation test as inference without parametric assumptions.
- Good, P.I. (2005). Permutation, Parametric, and Bootstrap Tests of Hypotheses (3rd ed.). Springer.→ ch. 12.2 — building the null distribution by permuting labels for two-sample statistics.
- Cohen, J. (1988). Statistical Power Analysis for the Behavioral Sciences (2nd ed.). Lawrence Erlbaum.→ ch. 12.6 — the notion of statistical power that sets the required number of trajectories per measurement point.
- Benjamini, Y., & Hochberg, Y. (1995). "Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing." J. R. Stat. Soc. B, 57(1), 289–300.→ ch. 12.2 — the FDR procedure the protocol rejects, as it assumes independence or positive PRDS dependence.
- Benjamini, Y., & Yekutieli, D. (2001). "The Control of the False Discovery Rate in Multiple Testing under Dependency." Annals of Statistics, 29(4), 1165–1188.→ ch. 12.2 — the procedure actually used: it holds FDR under an arbitrary dependence structure between metrics.
Cryptographic commitments and blinding methodology
- Blum, M. (1983). "Coin flipping by telephone: a protocol for solving impossible problems." ACM SIGACT News, 15(1), 23–27.→ ch. 12.5 — the commitment scheme and the binding/hiding pair the blinding commitment must satisfy at once.
- NIST (2015). Secure Hash Standard (SHS), FIPS PUB 180-4.→ ch. 12.3 and 12.5 — SHA-256 as the bit-stream checksum in the manifest and the digest in the commitment file.
- Krawczyk, H., Bellare, M., & Canetti, R. (1997). HMAC: Keyed-Hashing for Message Authentication, RFC 2104.→ ch. 12.5 — the passphrase-derived salt via HMAC-SHA256; without it the commitment would bind but not hide.
- Nosek, B.A., Ebersole, C.R., DeHaven, A.C., & Mellor, D.T. (2018). "The preregistration revolution." PNAS, 115(11), 2600–2606.→ ch. 12.5 — the rationale for writing the commitment and stopping rule before data collection, not after.
Entanglement, measurement and decoherence
- Bell, J.S. (1964). "On the Einstein Podolsky Rosen Paradox." Physics, 1(3), 195–200.→ ch. 3 — the bound above which source correlations cannot be reproduced by a local hidden-variable model.
- Eberhard, P.H. (1978). "Bell’s theorem and the different concepts of locality." Il Nuovo Cimento B, 46(2), 392–419.→ ch. 3 — the no-signalling theorem that bounds what the system may not promise.
- Aspect, A., Dalibard, J., & Roger, G. (1982). "Experimental test of Bell’s inequalities using time-varying analyzers." Phys. Rev. Lett., 49(25), 1804–1807.→ ch. 3 — experimental confirmation that quantum correlations violate the local hidden-variable bound.
- Greenberger, D.M., Horne, M.A., & Zeilinger, A. (1989). "Going beyond Bell’s theorem." In: Kafatos, M. (ed.), Bell’s Theorem, Quantum Theory, and Conceptions of the Universe, Kluwer, 69–72. (Reprint: arXiv:0712.0921.)→ ch. 3 and 11 — the GHZ state from which the
correlated_entropykernel builds parameterised autocorrelation-steering blocks. - Misra, B., & Sudarshan, E.C.G. (1977). "The Zeno’s paradox in quantum theory." J. Math. Phys., 18(4), 756–763.→ ch. 5 — the Zeno effect: frequent measurement slows state evolution, which maps to the system's locking mechanism.
- Zurek, W.H. (2003). "Decoherence, einselection, and the quantum origins of the classical." Rev. Mod. Phys., 75, 715.→ ch. 5 and 7 — decoherence and pointer states, referenced by the stabiliser's directed decoherence.
- Nielsen, M.A., & Chuang, I.L. (2010). Quantum Computation and Quantum Information (10th anniversary ed.). Cambridge University Press.→ ch. 5 and 7 — the depolarising channel and stabiliser formalism behind noise injection and syndrome extraction.
Hardware randomness and entropy sources
- Herrero-Collantes, M., & Garcia-Escartin, J.C. (2017). "Quantum random number generators." Rev. Mod. Phys., 89, 015004.→ ch. 3 and 12.3 — the taxonomy of quantum randomness sources and the criteria by which the hardware arm is judged.
- Turan, M.S., Barker, E., Kelsey, J., McKay, K.A., Baish, M.L., & Boyle, M. (2018). Recommendation for the Entropy Sources Used for Random Bit Generation, NIST SP 800-90B.→ ch. 12.3 — requirements for an entropy source and its validation; the basis for separating the requested source from the one actually used.
Error-correcting codes and decoding
- Gallager, R.G. (1962). "Low-density parity-check codes." IRE Trans. Inf. Theory, 8(1), 21–28.→ ch. 7 — the sparse parity-check matrix and iterative message-passing decoding.
- Tanner, R.M. (1981). "A recursive approach to low complexity codes." IEEE Trans. Inf. Theory, 27(5), 533–547.→ ch. 7 — the Tanner graph along which messages travel between variable and check nodes.
- MacKay, D.J.C., & Neal, R.M. (1996). "Near Shannon limit performance of low density parity check codes." Electronics Letters, 32(18), 1645–1646.→ ch. 7 — the rediscovery of LDPC codes and belief propagation as their practical decoder.
- Fossorier, M.P.C., Mihaljević, M., & Imai, H. (1999). "Reduced complexity iterative decoding of low-density parity check codes based on belief propagation." IEEE Trans. Commun., 47(5), 673–680.→ ch. 7 — the min-sum approximation in which the stabiliser decoder's first stage is implemented.
- Fossorier, M.P.C., & Lin, S. (1995). "Soft-decision decoding of linear block codes based on ordered statistics." IEEE Trans. Inf. Theory, 41(5), 1379–1396.→ ch. 7 — ordered statistics decoding (OSD), the second stage invoked when BP fails to converge.
- Panteleev, P., & Kalachev, G. (2021). "Degenerate Quantum LDPC Codes With Good Finite Length Performance." Quantum, 5, 585.→ ch. 7 and 11 — the pairing of BP with OSD post-processing, precisely the two-stage arrangement named BP-OSD.
- Roffe, J., White, D.R., Burton, S., & Campbell, E. (2020). "Decoding across the quantum low-density parity-check code landscape." Phys. Rev. Research, 2, 043423.→ ch. 7 — the applicability range of BP-OSD as a general-purpose decoder for quantum LDPC codes.
Quantum simulation and compute acceleration
- Kim, J.-S., McCaskey, A., Heim, B., Modani, M., Stanwyck, S., & Costa, T. (2023). "CUDA Quantum: The Platform for Integrated Quantum-Classical Computing." 60th ACM/IEEE Design Automation Conference (DAC). DOI: 10.1109/DAC56929.2023.10247886.→ ch. 11 — the programming model and platform architecture the acceleration layer stands on.
- “cuQuantum SDK: A High-Performance Library for Accelerating Quantum Science” (2023). arXiv:2308.01999.→ ch. 11 — the cuStateVec and cuTensorNet libraries behind the
nvidia,tensornetandtensornet-mpstargets. - Vidal, G. (2003). "Efficient Classical Simulation of Slightly Entangled Quantum Computations." Phys. Rev. Lett., 91, 147902.→ ch. 11 — the basis of MPS simulation: cost grows with bond dimension, not qubit count.
- Schollwöck, U. (2011). "The density-matrix renormalization group in the age of matrix product states." Annals of Physics, 326(1), 96–192.→ ch. 11 — SVD decomposition and bond-dimension truncation, the origin of the
tensornet-mpstarget's cost. - Markov, I.L., & Shi, Y. (2008). "Simulating Quantum Computation by Contracting Tensor Networks." SIAM Journal on Computing, 38(3), 963–981.→ ch. 11 — tensor network contraction and the cost's dependence on circuit treewidth (the
tensornettarget). - “CUDA-Q Logical: Retargetable Compilation for Fault-Tolerant Quantum Computing” (2026). arXiv:2609.13388.→ ch. 11 — the scope of the
cudaq.logicallayer: code constructors, fault-tolerant compilation and syndrome extraction. The decoder stays on the system side.
Conceptual foundations and the simulation hypothesis
- Davisson, C., & Germer, L.H. (1927). "Diffraction of Electrons by a Crystal of Nickel." Phys. Rev., 30(6), 705–740.→ ch. 14.1 — the wave nature of matter underpinning the double-slit argument.
- Bekenstein, J.D. (1973). "Black Holes and Entropy." Phys. Rev. D, 7(8), 2333–2346.→ ch. 14.2 — entropy proportional to area and the resulting information bound.
- Hawking, S.W. (1974). "Black hole explosions?" Nature, 248, 30–31.→ ch. 14.2 — horizon radiation completing the thermodynamic reading of surface entropy.
- ’t Hooft, G. (1993). "Dimensional Reduction in Quantum Gravity." arXiv:gr-qc/9310026.→ ch. 14.2 — the original formulation of the holographic principle.
- Susskind, L. (1995). "The World as a Hologram." J. Math. Phys., 36(11), 6377–6396.→ ch. 14.2 — the development of the holographic principle into the form cited in the documentation.
- Wheeler, J.A. (1990). "Information, Physics, Quantum: The Search for Links." In: Zurek, W.H. (ed.), Complexity, Entropy, and the Physics of Information, Addison-Wesley, 3–28.→ ch. 14.3 — the source of the “it from bit” formulation cited in the documentation.
- Zurek, W.H. (2009). "Quantum Darwinism." Nature Physics, 5(3), 181–188.→ ch. 14.3 — the emergence of classical reality through selection of pointer states.
- Tegmark, M. (2008). "The Mathematical Universe." Foundations of Physics, 38(2), 101–150.→ ch. 14.4 — the mathematical universe hypothesis in the version cited in the documentation.
- Bostrom, N. (2003). "Are You Living in a Computer Simulation?" The Philosophical Quarterly, 53(211), 243–255.→ ch. 14.5 — the simulation trilemma as reported in the documentation.
- Doran, C.F., Faux, M.G., Gates, S.J. Jr., Hübsch, T., Iga, K.M., & Landweber, G.D. (2008). "Relating Doubly-Even Error-Correcting Codes, Graphs, and Irreducible Representations of N-Extended Supersymmetry." arXiv:0806.0051.→ ch. 15 — the correct source for the observation about doubly-even codes in adinkras.
- Doran, C.F., Faux, M.G., Gates, S.J. Jr., Hübsch, T., Iga, K.M., Landweber, G.D., & Miller, R.L. (2011). "Codes and Supersymmetry in One Dimension." Advances in Theoretical and Mathematical Physics, 15. arXiv:1108.4124.→ ch. 15 — the enumeration of adinkra topologies corresponding to doubly-even codes.
14. Quantum foundations of the simulation hypothesis
This section explores the philosophy of physics and speculative foundations — deliberately, to understand why Q-PBOS makes operational sense.
14.1 Double Slit and Observer Effect
Young (1801) demonstrated light interference. Davisson and Germer (1927) confirmed the wave nature of electrons. De Broglie wavelength:
When a detector is added at the slit — the interference pattern vanishes. The wave function ψ collapses from superposition into an eigenstate:
14.2 Holographic Principle — Universe as a 2D Code
Bekenstein (1973) and Hawking (1974): black hole entropy is proportional to surface area, not volume:
't Hooft (1993) and Susskind (1995): the entire information of a 3D universe is encoded on a 2D boundary surface. Bekenstein bound:
14.3 "It from Bit" — Wheeler (1990)
John A. Wheeler (Princeton): "Every particle, every field of force, even the spacetime continuum itself — derives its function, its meaning, its very existence entirely from answers to yes-or-no questions — bits."
Quantum Darwinism (Zurek, 2009): classical reality emerges through Darwinian selection of quantum states — the environment amplifies "pointer states" and broadcasts copies to observers. "Objective" reality = consensus of multiple observers.
14.4 Mathematical Universe Hypothesis (Tegmark, 2008)
Max Tegmark (MIT): The universe is not merely described by mathematics — the universe is a mathematical structure. Implication: every computable structure can be simulated.
14.5 Simulation Hypothesis (Bostrom, 2003)
Nick Bostrom: at least one of three propositions must be true: (1) all civilizations go extinct before simulation capability, (2) advanced civilizations are uninterested in simulations, or (3) we are living in a simulation. If (1) and (2) are false, simulated minds astronomically outnumber real ones — probability of being in a simulation → 1.
15. Error-correction codes in physics equations
S. James Gates Jr. (University of Maryland, National Academy of Sciences) — studying supersymmetric string theories via bipartite graphs called Adinkras — discovered in 2010:
"We have found, embedded within the equations of supersymmetry, something that looks for all the world like computer code — specifically, error-correcting codes of the type used in browsers."
15.1 Type of Discovered Codes
Gates discovered doubly-even self-dual linear binary error-correcting block codes, including the extended [8,4,4] Hamming code:
Adinkra N=4 — 36,881 topologically distinct classes — all correspond to subcodes of the Hamming (8,4,4) code.
15.2 Connection with Digital Technology
| Application | Code Type | Connection to Gates |
|---|---|---|
| ECC Server RAM | Extended Hamming [8,4,4] | IDENTICAL code to supersymmetry equations |
| Wi-Fi IEEE 802.11n | LDPC + Convolutional | Hamming code family |
| TCP/IP (CRC-32) | Cyclic codes | Linear codes, identical algebra |
| HTTPS/TLS | Reed-Solomon / Turbo | Derived block codes |
| CD/DVD/Blu-ray | Reed-Solomon [32,28,5] | Block codes, same family |
| Q-LDPC (Q-PBOS) | Sparse Hamming (LDPC) | Sparse derivative of this family |
15.3 Simulation Implication
"Natural" Scenario
Fundamental physics → random equations → accidental mathematical structures
Gates's Observation
Fundamental physics → supersymmetry equations → embedded error-correcting codes identical to those in RAM and Wi-Fi
Gates: "If you are a physicist and you ask, 'Is it possible that we are living inside a computer simulation?' — I have to say yes, it's possible. And the codes I found are consistent with that interpretation."
Analogy: without ECC in RAM, cosmic rays (muons, protons) induce bitflips every few hours. Macroscopic stability of physical reality may be a direct product of embedded quantum error correction.
16. Law of attraction as a code interface
The "Law of Attraction" (LoA; Hicks, Byrne) posits that thoughts and intentions attract corresponding events. Q-PBOS treats this as an operational hypothesis — not a belief.
16.1 Mechanism in 5 Steps
16.2 Mapping: Simulation ↔ Q-PBOS ↔ LoA
| Simulation Element | Q-PBOS Module | LoA Metaphor |
|---|---|---|
| Simulation code | LorenzSystem | "Reality matrix" |
| Intent → input | SHA-256(intent) → ℝ³ | "Vibration" / thought |
| Resonance | ResonanceField.coherence() | "Matching vibration" |
| Nudge | QuantumEntropy bit=1 | "Intent → action" |
| Amplification | λ_max = 0.9056 (Lorenz) | "Law of increase" |
| Anchoring | StateLockDaemon | "Hold the vision" |
| System ECC | QLDPC + StabilizerAgent | "Manifestation stability" |
| Output | divergence.log | "Manifestation proof" |
16.3 What is Confirmed in Physics
| LoA Claim | Physics Status |
|---|---|
| "Observation influences reality" | ✓ PROVEN — wave function collapse |
| "Everything is energy and frequency" | ✓ DE JURE — wave-particle duality, E = hf |
| "Like attracts like" (macro scale) | △ UNVERIFIED for macroscopic systems |
| "Thought → event" directly | ✗ NO EVIDENCE of direct physical mechanism |
| "Consciousness collapses wave function" | △ DEBATED (Copenhagen vs. Many-Worlds) |
| "Chaos sensitive to intent" | ✓ MATHEMATICALLY POSSIBLE (IC sensitivity) |