# VQCSim: When Does Compile-Once Statevector Simulation Beat Generic Quantum Frameworks?

arXiv: https://arxiv.org/abs/2607.11985 · HTML: https://mlsanity.com/paper/2607.11985/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 9 of its 29 references that are in the map.
- First posted on arXiv 13 Jul 2026.

## Builds on (most cited first, 9 of 9)

- [A Survey on Quantum Machine Learning: Current Trends, Challenges, Opportunities, and the Road Ahead](https://mlsanity.com/paper/2310.10315/) (2023)
- [cuQuantum SDK: A High-Performance Library for Accelerating Quantum Science](https://mlsanity.com/paper/2308.01999/) (2023)
- [NASCaps: A Framework for Neural Architecture Search to Optimize the Accuracy and Hardware Efficiency of Convolutional Capsule Networks](https://mlsanity.com/paper/2008.08476/) (2020)
- [Hybrid quantum programming with PennyLane Lightning on HPC platforms](https://mlsanity.com/paper/2403.02512/) (2024)
- [Qandle: Accelerating State Vector Simulation Using Gate-Matrix Caching and Circuit Splitting](https://mlsanity.com/paper/2404.09213/) (2024)
- [TQml Simulator: optimized simulation of quantum machine learning](https://mlsanity.com/paper/2506.04891/) (2025)
- [Parametrized Quantum Circuit Learning for Quantum Chemical Applications](https://mlsanity.com/paper/2507.08183/) (2025)
- [GPU-Accelerated Quantum Simulation: Empirical Backend Selection, Gate Fusion, and Adaptive Precision](https://mlsanity.com/paper/2604.03816/) (2026)
- [Evaluating Parameter-Based Training Performance of Neural Networks and Variational Quantum Circuits](https://mlsanity.com/paper/2504.07273/) (2025)

## Built on by (most cited first, 1 of 1)

- [QBFF: Deep Quantum Bottleneck for Automatic Speaker Verification Anti-Spoofing](https://mlsanity.com/paper/2610.16390/) (2026)

## Abstract (arXiv)

Hybrid quantum-classical machine learning workflows repeatedly evaluate many small parametrized circuits during training and model exploration. In this regime, framework dispatch and orchestration overhead often dominate runtime. Prior simulators accelerate execution but leave open the question of when compile-once specialization is the right choice for static variational circuits. We answer this question with VQCSim, a compile-once, PyTorch-native statevector execution path with native autograd. In a systematic MQT Bench study, VQCSim compiles all tested static circuits and provides 87.7% end-to-end semantic validation. Across a five-GPU evaluation set, VQCSim delivers pooled median speedups of 4.49x for native inference and 26.78x for native training, while retaining a 3.31x advantage under matched finite-difference training. Ablation identifies native autograd as the dominant source of acceleration (27.6x), with compile-once caching and batch vectorization contributing additional gains. The speedup trades higher GPU memory (VQCSim is memory-limited at the high end) for lower runtime. We derive a hardware-aware regime map and release vqcsim-oracle, an open-source backend selector with 91.1%-97.7% top-1 agreement (including cross-GPU transfers), enabling automatic simulator selection in QML design loops.
