Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Psitrum: An Open Source Simulator for Universal Quantum Computers

Mohammed Alghadeer, Eid Aldawsari, Raja Selvarajan, Khaled A. Al-Utaibi, Sabre Kais, Fahhad H. Alharbi

Published Apr 1, 2022• 1 citation
Publisher

Abstract

Abstract Quantum computing is a radical new paradigm for a technology that is capable to revolutionize information processing. Simulators of universal quantum computer are important for understanding the basic principles and operations of the current noisy intermediate-scale quantum (NISQ) processors, and for building in future fault-tolerant quantum computers. In this work, we present simulation of universal quantum computers by introducing Psitrum – a universal gate-model quantum computer simulator implemented on classical hardware. The simulator allows to emulate and debug quantum algorithms in form of quantum circuits for many applications with the choice of adding variety of noise modules to simulate decoherence in quantum circuits. Psitrum allows to simulate all basic quantum operations and provides variety of visualization tools. The simulator allows to trace out all possible quantum states at each stage M of an N-qubit implemented quantum circuit. Psitrum software and source codes are freely available at: https://github.com/MoGhadeer/Psitrum.

DOI
10.21203/rs.3.rs-1483765/v1

Related papers

Psitrum and Universal Simulation of Quantum Computers

Mohammed Alghadeer, Eid Aldawsari, Raja Selvarajan +3 more

Quantum computation is a radical new candidate for a technology that is capable to make a paradigm shift in information processing. However, current promising devices are limited in performance due to many decoherence mechanisms. Quantum computer simulators are thus important for understanding and solving existing problems of the current noisy intermediate-scale quantum (NISQ) processors. In this work, we present Psitrum – a universal gate-model based quantum computer simulator implemented on classical hardware. The simulator allows to emulate and debug quantum algorithms in form of quantum circuits for many applications with the choice of adding quantum noise that limit coherence of quantum circuits. Psitrum allows to keep track of quantum operations and density matrices, and provides variety of unique visualisation tools. The simulator allows to trace out all possible quantum states at each stage M of an N-qubit implemented quantum circuit. The design of Psitrum is flexible and allows users later to add their special quantum gates and variety of noise modules.

IEEE International Conference on Quantum Computing and Engineering (QCE)•Sep 1, 2022•8 citations

Psitrum: An open source simulator for universal quantum computers

Mohammed Alghadeer, Eid Aldawsari, Raja Selvarajan +3 more

Abstract Quantum computing is a radical new paradigm for a technology that is capable to revolutionise information processing. Simulators of universal quantum computer are important for understanding the basic principles and operations of the current noisy intermediate‐scale quantum processors, and for building in future fault‐tolerant quantum computers. As next‐generation quantum technologies continue to advance, it is crucial to address the impact on education and training in quantum physics. The emergence of new industries driven by progress in quantum computing and simulation will create a demand for a specialised quantum workforce. In response to these challenges, the authors present Psitrum, an open‐source simulator for universal quantum computers. Psitrum serves as a powerful educational and research tool, enabling a diverse range of stakeholders to understand the fundamental principles and operations of quantum systems. By offering a comprehensive platform for emulating and debugging quantum algorithms through quantum circuits, Psitrum aids in the exploration and analysis of various quantum applications using both MATLAB and MATLAB application programming interface to use the software on other platforms. Psitrum software and source codes are fully available at GitHub.

arXiv:2203.07301•IET Quantum Communication•Jul 8, 2024•4 citations

A suite for testing and debugging quantum programs (審査報告)

サーラ アイマノ ファトヒ モハメド メトワリ, Sara Ayman Metwalli

A Suite for Testing and Debugging Quantum Programs", addresses an underdeveloped area of research in the current scope of quantum computing: testing and debugging quantum programs.This work makes a significant contribution not only to the future of quantum software development but also more broadly to the advancement of the field of quantum computing, as software tools are critical to maturing from the current NISQ (noisy intermediate-scale quantum) era to the FTQC (fault-tolerant quantum computation) era.Quantum technology has been rapidly evolving, as seen through the significant advances in quantum computing, sensing, cryptography, and communication.Quantum technology is transitioning from experimental prototypes to more practical, yet still limited, applications.These advances offer the prospect of unprecedented computational capabilities for specific tasks like optimization, chemical simulation, and cryptography but are hindered by challenges such as error rates, qubit coherence times, and scalability.All of these problems are being addressed by physicists and engineers.One area receiving far too little attention is the emerging field of quantum software engineering.

•Jan 1, 2024•0 citations

Simulating Quantum Computers Using OpenCL

Adam Kelly

Quantum computing is an emerging technology, promising a paradigm shift in computing, and allowing for speedups in many different problems. However, quantum devices are still in their early stages, most with only a small number qubits. This places a reliance on simulation to develop quantum algorithms and to verify these devices. While there exists many algorithms for the simulation of quantum circuits, there is (at the time of writing) no tools which use OpenCL to parallelize this simulation, thereby taking advantage of devices such as GPUs while still remaining portable. In this paper, such a tool is described, including optimizations in areas such as gate application. This leads to a new approach that outperforms other popular state vector based simulators. An implementation of the proposed simulator is available at https://qcgpu.github.io.

arXiv:1805.00988•May 2, 2018•20 citations

A Framework for Debugging Quantum Programs

Damian Rovara, Lukas Burgholzer, Robert Wille

Recent advancements in quantum computing software are gradually increasing the scope and size of quantum programs being developed. At the same time, however, these larger programs provide more possibilities for functional errors that are harder to detect and resolve. Meanwhile, debugging tools that could aid developers in resolving these errors are still barely existent and far from what we take for granted in classical design automation and software engineering. As a result, even if one manages to identify the incorrect behavior of a developed quantum program, detecting and resolving the underlying errors in the program remains a time-consuming and tedious task. Moreover, the exponential growth of the state space in quantum programs makes the efficient manual investigation of errors radically difficult even for respectively simple algorithms, and almost impossible as the number of qubits increases. To address this problem, this work proposes a debugging framework, available as an open-source implementation at https://github.com/cda-tum/mqt-debugger. It assists developers in debugging errors in quantum programs, allowing them to efficiently identify the existence of errors and diagnose their causes. Users are given the ability to place assertions in the code that test for the correctness of a given algorithm and are evaluated using classical simulations of the underlying quantum program. Once an assertion fails, the proposed framework employs different diagnostic methods to point towards possible error causes. This way, the debugging workload for quantum programs is drastically reduced.

arXiv:2412.12269•IEEE International Conference on Quantum Software (QSW)•Jul 7, 2025•3 citations

Quantum Computing

Juan José García‐Ripoll

We discuss the building blocks of a universal quantum computer within the circuit model of computation and how this is implemented using superconducting quantum circuits. In particular, we discuss, one by one, the creation of quantum registers, resetting of quantum bits, qubit measurements, single-qubit operations, and universal two-qubit gates, and how these are all implemented using the tools from earlier chapters. We discuss how to calibrate the errors in the qubits and in the operations, assigning them complete descriptions via positive maps. We explain how these errors can be corrected and how to implement a fault-tolerant quantum computer, focusing on the paradigm of stabilizer codes and the surface code in particular. We close with a discussion on the outlook for quantum computers in the near term and the NISQ paradigm of computation.

Cambridge University Press eBooks•Jul 31, 2022•0 citations
Abstract Quantum computing is a radical new paradigm for a technology that is capable to revolutionize information processing. Simulators of universal quantum computer are important for understanding the basic principles and operations of the current noisy intermediate-scale quantum (NISQ) processors, and for building in future fault-tolerant quantum computers. In this work, we present simulation of universal quantum computers by introducing Psitrum – a universal gate-model quantum computer simulator implemented on classical hardware. The simulator allows to emulate and debug quantum algorithms in form of quantum circuits for many applications with the choice of adding variety of noise modules to simulate decoherence in quantum circuits. Psitrum allows to simulate all basic quantum operations and provides variety of visualization tools. The simulator allows to trace out all possible quantum states at each stage M of an N-qubit implemented quantum circuit. Psitrum software and source codes are freely available at: https://github.com/MoGhadeer/Psitrum.
Quantum computation is a radical new candidate for a technology that is capable to make a paradigm shift in information processing. However, current promising devices are limited in performance due to many decoherence mechanisms. Quantum computer simulators are thus important for understanding and solving existing problems of the current noisy intermediate-scale quantum (NISQ) processors. In this work, we present Psitrum – a universal gate-model based quantum computer simulator implemented on classical hardware. The simulator allows to emulate and debug quantum algorithms in form of quantum circuits for many applications with the choice of adding quantum noise that limit coherence of quantum circuits. Psitrum allows to keep track of quantum operations and density matrices, and provides variety of unique visualisation tools. The simulator allows to trace out all possible quantum states at each stage M of an N-qubit implemented quantum circuit. The design of Psitrum is flexible and allows users later to add their special quantum gates and variety of noise modules.
Abstract Quantum computing is a radical new paradigm for a technology that is capable to revolutionise information processing. Simulators of universal quantum computer are important for understanding the basic principles and operations of the current noisy intermediate‐scale quantum processors, and for building in future fault‐tolerant quantum computers. As next‐generation quantum technologies continue to advance, it is crucial to address the impact on education and training in quantum physics. The emergence of new industries driven by progress in quantum computing and simulation will create a demand for a specialised quantum workforce. In response to these challenges, the authors present Psitrum, an open‐source simulator for universal quantum computers. Psitrum serves as a powerful educational and research tool, enabling a diverse range of stakeholders to understand the fundamental principles and operations of quantum systems. By offering a comprehensive platform for emulating and debugging quantum algorithms through quantum circuits, Psitrum aids in the exploration and analysis of various quantum applications using both MATLAB and MATLAB application programming interface to use the software on other platforms. Psitrum software and source codes are fully available at GitHub.
A Suite for Testing and Debugging Quantum Programs", addresses an underdeveloped area of research in the current scope of quantum computing: testing and debugging quantum programs.This work makes a significant contribution not only to the future of quantum software development but also more broadly to the advancement of the field of quantum computing, as software tools are critical to maturing from the current NISQ (noisy intermediate-scale quantum) era to the FTQC (fault-tolerant quantum computation) era.Quantum technology has been rapidly evolving, as seen through the significant advances in quantum computing, sensing, cryptography, and communication.Quantum technology is transitioning from experimental prototypes to more practical, yet still limited, applications.These advances offer the prospect of unprecedented computational capabilities for specific tasks like optimization, chemical simulation, and cryptography but are hindered by challenges such as error rates, qubit coherence times, and scalability.All of these problems are being addressed by physicists and engineers.One area receiving far too little attention is the emerging field of quantum software engineering.
Quantum computing is an emerging technology, promising a paradigm shift in computing, and allowing for speedups in many different problems. However, quantum devices are still in their early stages, most with only a small number qubits. This places a reliance on simulation to develop quantum algorithms and to verify these devices. While there exists many algorithms for the simulation of quantum circuits, there is (at the time of writing) no tools which use OpenCL to parallelize this simulation, thereby taking advantage of devices such as GPUs while still remaining portable. In this paper, such a tool is described, including optimizations in areas such as gate application. This leads to a new approach that outperforms other popular state vector based simulators. An implementation of the proposed simulator is available at https://qcgpu.github.io.
Recent advancements in quantum computing software are gradually increasing the scope and size of quantum programs being developed. At the same time, however, these larger programs provide more possibilities for functional errors that are harder to detect and resolve. Meanwhile, debugging tools that could aid developers in resolving these errors are still barely existent and far from what we take for granted in classical design automation and software engineering. As a result, even if one manages to identify the incorrect behavior of a developed quantum program, detecting and resolving the underlying errors in the program remains a time-consuming and tedious task. Moreover, the exponential growth of the state space in quantum programs makes the efficient manual investigation of errors radically difficult even for respectively simple algorithms, and almost impossible as the number of qubits increases. To address this problem, this work proposes a debugging framework, available as an open-source implementation at https://github.com/cda-tum/mqt-debugger. It assists developers in debugging errors in quantum programs, allowing them to efficiently identify the existence of errors and diagnose their causes. Users are given the ability to place assertions in the code that test for the correctness of a given algorithm and are evaluated using classical simulations of the underlying quantum program. Once an assertion fails, the proposed framework employs different diagnostic methods to point towards possible error causes. This way, the debugging workload for quantum programs is drastically reduced.
We discuss the building blocks of a universal quantum computer within the circuit model of computation and how this is implemented using superconducting quantum circuits. In particular, we discuss, one by one, the creation of quantum registers, resetting of quantum bits, qubit measurements, single-qubit operations, and universal two-qubit gates, and how these are all implemented using the tools from earlier chapters. We discuss how to calibrate the errors in the qubits and in the operations, assigning them complete descriptions via positive maps. We explain how these errors can be corrected and how to implement a fault-tolerant quantum computer, focusing on the paradigm of stabilizer codes and the surface code in particular. We close with a discussion on the outlook for quantum computers in the near term and the NISQ paradigm of computation.