Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

SWAP-less implementation of quantum algorithms

Berend Klaver1,2, Stefan M. A. Rombouts3, Michael Fellner1,2, Anette Messinger2, Kilian Ender1, Katharina Ludwig3, and Wolfgang Lechner1,2,3

  • 1Institute for Theoretical Physics, University of Innsbruck, A-6020 Innsbruck, Austria
  • 2Parity Quantum Computing GmbH, A-6020 Innsbruck, Austria
  • 3Parity Quantum Computing Germany GmbH, 20095 Hamburg, Germany

Phys. Rev. A 113, 012443 – Published 29 January, 2026

DOI: https://doi.org/10.1103/2wzk-fnhx

Abstract

We present a formalism based on tracking the flow of parity quantum information to implement algorithms on devices with limited connectivity without qubit overhead, SWAP operations, or shuttling. Instead, we leverage the fact that entangling gates not only manipulate quantum states but can also be exploited to transport quantum information. We demonstrate the effectiveness of this method by applying it to the quantum Fourier transform (QFT) and the quantum approximate optimization algorithm (QAOA) with n qubits. This improves upon all state-of-the-art implementations of the QFT on a linear nearest-neighbor architecture, resulting in a total circuit depth of 5n3 and requiring n21 cnot gates. For the QAOA, our method outperforms SWAP networks, which are currently the most efficient implementation of the QAOA on a linear architecture. We further demonstrate the potential to balance qubit count against circuit depth by implementing the QAOA on twice the number of qubits using bilinear connectivity, which approximately halves the circuit depth.

View figure in article

Physics Subject Headings (PhySH)

See Also

Parity flow formalism: Tracking quantum information throughout computation

Berend Klaver, Katharina Ludwig, Anette Messinger, Stefan M. A. Rombouts, Michael Fellner, Kilian Ender, and Wolfgang Lechner
Phys. Rev. Research 8, 013095 (2026)

Article Text

References (51)

  1. W. K. Wootters and W. H. Zurek, A single quantum cannot be cloned, Nature (London) 299, 802 (1982).
  2. L. Henriet, L. Beguin, A. Signoles, T. Lahaye, A. Browaeys, G.-O. Reymond, and C. Jurczak, Quantum computing with neutral atoms, Quantum 4, 327 (2020).
  3. M. P. Harrigan, K. J. Sung, M. Neeley, K. J. Satzinger, F. Arute, K. Arya, J. Atalaya, J. C. Bardin, R. Barends, S. Boixo et al., Quantum approximate optimization of non-planar graph problems on a planar superconducting processor, Nat. Phys. 17, 332 (2021).
  4. B. Cheng, X.-H. Deng, X. Gu, Y. He, G. Hu, P. Huang, J. Li, B.-C. Lin, D. Lu, Y. Lu et al., Noisy intermediate-scale quantum computers, Front. Phys. 18, 21308 (2023).
  5. Y. Kim, A. Eddins, S. Anand, K. X. Wei, E. van den Berg, S. Rosenblatt, H. Nayfeh, Y. Wu, M. Zaletel et al., Evidence for the utility of quantum computing before fault tolerance, Nature (London) 618, 500 (2023).
  6. D. Bluvstein, S. J. Evered, A. A. Geim, S. H. Li, H. Zhou, T. Manovitz, S. Ebadi, M. Cain, M. Kalinowski, D. Hangleiter, J. P. Bonilla Ataides et al., Logical quantum processor based on reconfigurable atom arrays, Nature (London) 626, 58 (2023).
  7. B. Park and D. Ahn, Reducing cnot count in quantum Fourier transform for the linear nearest-neighbor architecture, Sci. Rep. 13, 8638 (2023).
  8. A. Holmes, S. Johri, G. G. Guerreschi, J. S. Clarke, and A. Y. Matsuura, Impact of qubit connectivity on quantum algorithm performance, Quantum Sci. Technol. 5, 025009 (2020).
  9. G. E. Crooks, Performance of the quantum approximate optimization algorithm on the maximum cut problem, arXiv:1811.08419.
  10. M. Dupont, B. Sundar, B. Evert, D. E. B. Neira, Z. Peng, S. Jeffrey, and M. J. Hodson, Benchmarking quantum optimization for the maximum-cut problem on a superconducting quantum computer, Phys. Rev. Appl. 23, 014045 (2025).
  11. D. Kielpinski, C. Monroe, and D. J. Wineland, Architecture for a large-scale ion-trap quantum computer, Nature (London) 417, 709 (2002).
  12. B. O'Gorman, W. J. Huggins, E. G. Rieffel, and K. B. Whaley, Generalized swap networks for near-term quantum computing, arXiv:1905.05118.
  13. J. Weidenfeller, L. C. Valor, J. Gacon, C. Tornow, L. Bello, S. Woerner, and D. J. Egger, Scaling of the quantum approximate optimization algorithm on superconducting qubit based hardware, Quantum 6, 870 (2022).
  14. B. Lekitsch, S. Weidt, A. G. Fowler, K. Mølmer, S. J. Devitt, C. Wunderlich, and W. K. Hensinger, Blueprint for a microwave trapped ion quantum computer, Sci. Adv. 3, e1601540 (2017).
  15. K. R. Brown, J. Kim, and C. Monroe, Co-designing a scalable quantum computer with trapped atomic ions, npj Quantum Inf. 2, 16034 (2016).
  16. S. A. Moses, C. H. Baldwin, M. S. Allman, R. Ancona, L. Ascarrunz, C. Barnes, J. Bartolotta, B. Bjork, P. Blanchard et al., A race-track trapped-ion quantum processor, Phys. Rev. X 13, 041052 (2023).
  17. J. Preskill, Quantum computing in the NISQ era and beyond, Quantum 2, 79 (2018).
  18. A. Botea, A. Kishimoto, and R. Marinescu, On the complexity of quantum circuit compilation, in Proceedings of the International Symposium on Combinatorial Search (AAAI, Washington, 2018), Vol. 9, pp. 138–142.
  19. M. Saeedi, R. Wille, and R. Drechsler, Synthesis of quantum circuits for linear nearest neighbor architectures, Quantum Inf. Process. 10, 355 (2011).
  20. Qiskit contributors, Qiskit: An open-source framework for quantum computing, 2023.
  21. S. Sivarajah, S. Dilkes, A. Cowtan, W. Simmons, A. Edgington, and R. Duncan, t|ket: A retargetable compiler for NISQ devices, Quantum Sci. Technol. 6, 014003 (2021).
  22. S. Martiel and T. G. d. Brugière, Architecture aware compilation of quantum circuits via lazy synthesis, Quantum 6, 729 (2022).
  23. W. Lechner, P. Hauke, and P. Zoller, A quantum annealing architecture with all-to-all connectivity from local interactions, Sci. Adv. 1, e1500838 (2015).
  24. M. Fellner, A. Messinger, K. Ender, and W. Lechner, Universal parity quantum computing, Phys. Rev. Lett. 129, 180503 (2022).
  25. A. Messinger, M. Fellner, and W. Lechner, Constant depth code deformations in the parity architecture, in 2023 IEEE International Conference on Quantum Computing and Engineering (QCE) (IEEE, Piscataway, NJ, 2023).
  26. M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition (Cambridge University Press, Cambridge, 2011).
  27. E. Farhi, J. Goldstone, and S. Gutmann, A quantum approximate optimization algorithm, arXiv:1411.4028.
  28. K. Ender, R. ter Hoeven, B. E. Niehoff, M. Drieb-Schön, and W. Lechner, Parity quantum optimization: Compiler, Quantum 7, 950 (2023).
  29. R. ter Hoeven, A. Messinger, and W. Lechner, Flexible constraint compilation in the parity architecture, Phys. Rev. A 108, 042606 (2023).
  30. Note that the base qubits were termed data qubits in previous literature about the parity architecture, e.g., Ref. [24].
  31. R. Wille, L. Burgholzer, and A. Zulehner, Mapping quantum circuits to IBM QX Architectures Using the Minimal Number of SWAP and H Operations, in Proceedings of the 56th Annual Design Automation Conference 2019, DAC '19 (ACM, New York, 2019).
  32. A. Kissinger and A. M. van de Griend, cnot circuit extraction for topologically-constrained quantum memories, Quantum Inf. Comput. 20, 581 (2020).
  33. B. Nash, V. Gheorghiu, and M. Mosca, Quantum circuit optimizations for NISQ architectures, Quantum Sci. Technol. 5, 025010 (2020).
  34. A. Cowtan, S. Dilkes, R. Duncan, W. Simmons, and S. Sivarajah, Phase gadget synthesis for shallow circuits, Electron. Proc. Theor. Comput. Phys. 318, 213 (2020).
  35. B. Klaver, K. Ludwig, A. Messinger, S. M. A. Rombouts, M. Fellner, K. Ender, and W. Lechner, companion paper, Parity flow formalism: Tracking quantum information throughout computation, Phys. Rev. Res. 8, 013095 (2026).
  36. A. G. Fowler, S. J. Devitt, and L. C. L. Hollenberg, Implementation of shor's algorithm on a linear nearest neighbour qubit array, Quantum Info. Comput. 4, 237 (2004).
  37. Y. Takahashi, N. Kunihiro, and K. Ohta, The quantum fourier transform on a linear nearest neighbor architecture, Quantum Info. Comput. 7, 383 (2007).
  38. D. Maslov, Linear depth stabilizer and quantum fourier transformation circuits with no auxiliary qubits in finite-neighbor quantum architectures, Phys. Rev. A 76, 052310 (2007).
  39. A. Bhattacharjee, C. Bandyopadhyay, R. Wille, R. Drechsler, and H. Rahaman, Improved look-ahead approaches for nearest neighbor synthesis of 1D quantum circuits, in 2019 32nd International Conference on VLSI Design and 2019 18th International Conference on Embedded Systems (VLSID) (IEEE, Piscataway, NJ, 2019), pp. 203–208.
  40. M. Fellner, A. Messinger, K. Ender, and W. Lechner, Applications of universal parity quantum computation, Phys. Rev. A 106, 042442 (2022).
  41. S. Hadfield, Z. Wang, B. O'Gorman, E. G. Rieffel, D. Venturelli, and R. Biswas, From the quantum approximate optimization algorithm to a quantum alternating operator ansatz, Algorithms 12, 34 (2019).
  42. K. Blekos, D. Brand, A. Ceschini, C.-H. Chou, R.-H. Li, K. Pandya, and A. Summer, A review on quantum approximate optimization algorithm and its variants, Phys. Rep. 1068, 1 (2024).
  43. I. D. Kivlichan, J. McClean, N. Wiebe, C. Gidney, A. Aspuru-Guzik, G. K.-L. Chan, and R. Babbush, Quantum simulation of electronic structure with linear depth and connectivity, Phys. Rev. Lett. 120, 110501 (2018).
  44. R. Babbush, N. Wiebe, J. McClean, J. McClain, H. Neven, and G. K.-L. Chan, Low-depth quantum simulation of materials, Phys. Rev. X 8, 011044 (2018).
  45. A. Hashim, R. Rines, V. Omole, R. K. Naik, J. M. Kreikebaum, D. I. Santiago, F. T. Chong, I. Siddiqi, and P. Gokhale, Optimized swap networks with equivalent circuit averaging for qaoa, Phys. Rev. Res. 4, 033028 (2022).
  46. Y.-J. Wang, S. Zhang, T.-P. Sun, Z.-A. Zhao, X.-F. Xu, X.-N. Zhuang, H.-Y. Liu, C. Xue, P. Duan, Y.-C. Wu, Z.-Y. Chen, and G.-P. Guo, Hardware-efficient quantum random access memory design with a native gate set on superconducting platforms, Adv Quantum Technol. 8, 2400519 (2025).
  47. For an even number of qubits, the last spanning line only needs to differ from the previous one in half of the qubits and its creation only requires n1 cnot gates in two time steps. Therefore, the final numbers are independent of the parity of n.
  48. F. Dreier, C. Fleckenstein, G. Aigner, M. Fellner, R. Stahn, M. Lanthaler, and W. Lechner, Connectivity-aware synthesis of quantum algorithms, arXiv:2501.14020.
  49. I. D. Smith, H. P. Nautrup, and H. J. Briegel, Parity quantum computing as yz-plane measurement-based quantum computing, Phys. Rev. Lett. 132, 220602 (2024).
  50. D. C. McKay, S. Filipp, A. Mezzacapo, E. Magesan, J. M. Chow, and J. M. Gambetta, Universal gate for fixed-frequency qubits via a tunable bus, Phys. Rev. Appl. 6, 064007 (2016).
  51. S. Aaronson and D. Gottesman, Improved simulation of stabilizer circuits, Phys. Rev. A 70, 052328 (2004).

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation