English

TQml Simulator: optimized simulation of quantum machine learning

Quantum Physics 2026-02-18 v3 Emerging Technologies Machine Learning Performance

Abstract

Hardware-efficient circuits employed in Quantum Machine Learning are typically composed of alternating layers of uniformly applied gates. High-speed numerical simulators for such circuits are crucial for advancing research in this field. In this work, we numerically benchmark universal and gate-specific techniques for simulating the action of layers of gates on quantum state vectors, aiming to accelerate the overall simulation of Quantum Machine Learning algorithms. Our analysis shows that the optimal simulation method for a given layer of gates depends on the number of qubits involved, and that a tailored combination of techniques can yield substantial performance gains in the forward and backward passes for a given circuit. Building on these insights, we developed a numerical simulator, named TQml Simulator, that employs the most efficient simulation method for each layer in a given circuit. We evaluated TQml Simulator on circuits constructed from standard gate sets, such as rotations and CNOTs, as well as on native gates from IonQ and IBM quantum processing units. In most cases, our simulator outperforms equivalent Pennylane's default.qubit simulator by up to a factor of 10, depending on the circuit, the number of qubits, the batch size of the input data, and the hardware used.

Keywords

Cite

@article{arxiv.2506.04891,
  title  = {TQml Simulator: optimized simulation of quantum machine learning},
  author = {Viacheslav Kuzmin and Basil Kyriacou and Tatjana Protasevich and Mateusz Papierz and Mo Kordzanganeh and Alexey Melnikov},
  journal= {arXiv preprint arXiv:2506.04891},
  year   = {2026}
}

Comments

25 pages, 13 figures, 1 table

R2 v1 2026-07-01T03:01:12.104Z