Skip to content
DraconiticResearch
Search Sources API
203,203 studies31 sourcesUpdated just now
PreprintarXiv licencearXiv

A Controlled Study of Memory Hierarchy Transitions in Quantum Circuit Simulation on Apple M4 Pro Unified Memory Architecture

Abstract

State-vector quantum circuit simulation is memory-bandwidth bound, yet the interaction between memory hierarchy, access pattern, and hardware parallelism remains incompletely characterized. We address this using the Apple M4 Pro Unified Memory Architecture (UMA), where CPU and GPU share identical physical LPDDR5X DRAM (∼224 GB/s STREAM bandwidth for both), eliminating memory-technology and interconnect confounds. Using a thermally isolated, multi-trial methodology across 11 simulation backends on GHZ and QFT circuits from 3 to 30 qubits, we make three central contributions. First, a Roofline analysis confirms all gate implementations have arithmetic intensity ≤0.38 FLOP/byte, well below the ridge point for any plausible peak compute on modern hardware, establishing structural memory-boundedness. Second, we identify a reproducible 4.46× timing discontinuity at the 28→29 qubit transition, confirmed under thermally isolated conditions and cross-validated across GHZ and QFT circuits; tensordot backends exhibit the full discontinuity while direct-index backends maintain ∼2× per-qubit scaling throughout. Third, despite STREAM predicting only 1.85× GPU speedup (MLX CPU 119.9 GB/s vs. MLX GPU 221.9 GB/s), all three algorithm classes exceed this prediction: tensordot 3.1--4.1×, flat-index 3.5--5.9×, and direct-index 6--10×, demonstrating that peak streaming bandwidth does not predict simulation speedup for non-contiguous memory access patterns, with the gap widening as access irregularity increases. These findings provide a hardware-characterization framework for quantum simulation workloads on UMA.

Related

  1. Efficient simulation of second-order phase transitions in quantum anharmonic materials
    Andrea Baldanza, Lorenzo Monacelli
    arXivPreprintCC BY 4.0Full textComputational physicsCondensed matterarXiv
  2. NAQsim: Full-Stack Architecture Simulation Framework for Fast and Space-Efficient Neutral Atom Quantum Computing
    Yosuke Ueno, Shinichi Sunami, Toshihide Hinokuma +5
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
  3. Gate-Level Quantum Simulation of Nonunitary Linear Dynamics with Hybrid Oscillator-Qubit Architecture
    Elin Ranjan Das, Muqing Zheng, Rishab Dutta +3
    arXivPreprintCC BY 4.0Full textQuantum physics & quantum informationarXiv
  4. Quantum Simulation of Detuning-Controlled Proximity-Induced Localization and Reentrant Delocalization in a Quasiperiodic Ladder
    Mrinal Kanti Giri, Shih Tai-Ming, Pinaki Sengupta +1
    arXivPreprintarXiv licenceFull textAtomic, molecular & optical physicsCondensed matterarXiv
  5. A Mechanism for the Rényi Hierarchy of Decoherence-Induced Phase Transitions
    Zhou Yang, Yuri D. Lensky, Chao-Ming Jian
    arXivPreprintCC BY 4.0Full textCondensed matterQuantum physics & quantum informationarXiv
BibTeX
@misc{pratipat2026controlled,
  title = {{A Controlled Study of Memory Hierarchy Transitions in Quantum Circuit Simulation on Apple M4 Pro Unified Memory Architecture}},
  author = {Gyan Pratipat},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2605.08792},
  eprint = {2605.08792},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.08792},
}
RIS
TY  - UNPB
TI  - A Controlled Study of Memory Hierarchy Transitions in Quantum Circuit Simulation on Apple M4 Pro Unified Memory Architecture
AU  - Gyan Pratipat
PY  - 2026
DA  - 2026/10/01
PB  - arXiv
DO  - 10.48550/arxiv.2605.08792
UR  - https://arxiv.org/abs/2605.08792
AB  - State-vector quantum circuit simulation is memory-bandwidth bound, yet the interaction between memory hierarchy, access pattern, and hardware parallelism remains incompletely characterized. We address this using the Apple M4 Pro Unified Memory Architecture (UMA), where CPU and GPU share identical physical LPDDR5X DRAM (∼224 GB/s STREAM bandwidth for both), eliminating memory-technology and interconnect confounds. Using a thermally isolated, multi-trial methodology across 11 simulation backends on GHZ and QFT circuits from 3 to 30 qubits, we make three central contributions. First, a Roofline analysis confirms all gate implementations have arithmetic intensity ≤0.38 FLOP/byte, well below the ridge point for any plausible peak compute on modern hardware, establishing structural memory-boundedness. Second, we identify a reproducible 4.46× timing discontinuity at the 28→29 qubit transition, confirmed under thermally isolated conditions and cross-validated across GHZ and QFT circuits; tensordot backends exhibit the full discontinuity while direct-index backends maintain ∼2× per-qubit scaling throughout. Third, despite STREAM predicting only 1.85× GPU speedup (MLX CPU 119.9 GB/s vs. MLX GPU 221.9 GB/s), all three algorithm classes exceed this prediction: tensordot 3.1--4.1×, flat-index 3.5--5.9×, and direct-index 6--10×, demonstrating that peak streaming bandwidth does not predict simulation speedup for non-contiguous memory access patterns, with the gap widening as access irregularity increases. These findings provide a hardware-characterization framework for quantum simulation workloads on UMA.
ER  -