QRAM-Simulator Documentation¶
The core QRAM circuit simulator — noisy sparse-branch simulation for both the qubit and qutrit architectures
QRAM-Simulator is a high-performance C++ simulation core for QRAM (quantum random access memory) loading circuits:
Two architectures: the qubit architecture (physical-qubit tree + good/bad branch pruning) and the qutrit architecture (three-level node tree), sharing a single timing and noise scheduler, TimeStep;
Noise models: bit flip / phase flip / combined flip / depolarizing / amplitude damping, which can be injected per time slice in arbitrary combinations;
Fidelity evaluation: loading fidelity estimated from output sampling, with support for cross-checking pruned runs against unpruned ground-truth baselines;
Python bindings:
pip install qram-simulatorgives you all the core working classes (QRAMCircuitQubit / QRAMCircuitQutrit / QRAMFullAmp / TimeStep).
User Guide
- Installation
- Quickstart
- QRAM-Simulator Architecture
- Quantum Arithmetic Operator Constraints
- MPI Ensemble Parallelism
- Wide Sparse Word Queries
- Depth-20 Four-Channel Evidence Replay (Depth-20 four-channel)
- QRAM Addressing Test Plan: Records, Data Exchange and Mitigation Threshold
- SparQ Operator Naming Conventions
- 1. Scope and Symbol Layers
- 2. Capitalization Rules
- 3. Operator Naming Grammar
- 4. Slot Rules
- 5. The Semantics of
_Bool - 6. The
_InPlaceContract - 7. Inversion Principles
- 8. Gate-Family Rules
- 9. Compound Verb Pipelines (RPN Reading)
- 10. Deprecation and Alias Mechanism
- 11. Audit Cross-Reference Table
- Maintenance Obligations
- Related Pages
API Reference
Papers and Experiments
- Paper Reproduction Documentation
- Paper Experiment Reproduction Guide
- Pruned/full exactness validation
- Exact joint sampling of qubit amplitude damping
- Branch Pruning and Fast Simulation for the Qubit-Architecture QRAM: The H–K₀–H Predictability Theory
- The Qubit-QRAM Error Propagation Mechanism: A Theoretical Walkthrough with Single-Error Injection Verification
- 1. Microscopic Dynamics (Reconstructed from the Code)
- 2. Fault Taxonomy (Single X Error, Measured by n=3 All-Address Injection)
- 3. Residue Migration Rules (the Mechanistic Origin of the Rules of Thumb)
- 4. The Qutrit Contrast: Why Subtree Containment Suffices There
- 5. Impact on the Pruning Algorithm
- 6. Verification Method (Reproducible)
- Related Pages
- API Reference