Understanding and Estimating the Execution Time of Quantum Circuits
Due to the scarcity of quantum computing resources, researchers and developers have very limited access to real quantum computers. Therefore, judicious planning and utilization of quantum computer runtime are essential to ensure smooth execution and completion of projects. Accurate estimation of a quantum circuit’s execution time is thus necessary to prevent unexpectedly exceeding the anticipated runtime or the maximum capacity of the quantum computers; it also allows quantum computing platforms to make precisely informed provisioning and prioritization of quantum computing jobs. In this paper, we first study the characteristics of quantum circuits’ runtime on simulators and real quantum computers. Then, we introduce an innovative method that employs a graph transformer-based model, utilizing the graph information and global information of quantum circuits to estimate their execution time. We selected a benchmark dataset comprising over 1,510 quantum circuits, initially predicting their execution times on simulators, which yielded promising results with an R-squared value greater than 95%. Subsequently, we applied active learning to select 340 circuit samples with a confidence level of 95% to build and evaluate our approach for the estimation of circuit execution times on quantum computers, achieving an average R-squared value exceeding 90%. Our approach can be integrated into quantum computing platforms to provide an accurate estimation of quantum execution time and be used as a reference for prioritizing quantum execution jobs. In addition, our findings provide insights for quantum program developers to optimize their circuits for reduced execution time.
- Research Article
7
- 10.46586/tches.v2024.i2.735-768
- Mar 12, 2024
- IACR Transactions on Cryptographic Hardware and Embedded Systems
The interest in quantum computing has grown rapidly in recent years, and with it grows the importance of securing quantum circuits. A novel type of threat to quantum circuits that dedicated attackers could launch are power trace attacks. To address this threat, this paper presents first formalization and demonstration of using power traces to unlock and steal quantum circuit secrets. With access to power traces, attackers can recover information about the control pulses sent to quantum computers. From the control pulses, the gate level description of the circuits, and eventually the secret algorithms can be reverse engineered. This work demonstrates how and what information could be recovered. This work uses algebraic reconstruction from power traces to realize two new types of single trace attacks: per-channel and total power attacks. The former attack relies on per-channel measurements to perform a brute-force attack to reconstruct the quantum circuits. The latter attack performs a single-trace attack using Mixed-Integer Linear Programming optimization. Through the use of algebraic reconstruction, this work demonstrates that quantum circuit secrets can be stolen with high accuracy. Evaluation on 32 real benchmark quantum circuits shows that our technique is highly effective at reconstructing quantum circuits. The findings not only show the veracity of the potential attacks, but also the need to develop new means to protect quantum circuits from power trace attacks. Throughout this work real control pulse information from real quantum computers is used to demonstrate potential attacks based on simulation of collection of power traces.
- Research Article
9
- 10.1360/tb-2021-0036
- Mar 2, 2021
- Chinese Science Bulletin
<p indent="0mm">Quantum computation has been shown to be superior to classical computation in solving some problems, and therefore can substantially change our life. However, the realization of quantum computation is still challenging, even if quantum technologies have been improved significantly. Two main obstacles to the realization of practical quantum computation are control errors and decoherence. Control errors are caused by inaccurate manipulations of quantum systems and decoherence is caused by the inevitable interaction between the system and its environment. Geometric phases are only dependent on evolution paths of quantum systems but independent of the evolution details and therefore quantum computation based on geometric phases, i.e., geometric quantum computation, is robust against control errors, benefiting the realization of practical quantum computation. The early proposals of geometric quantum computation are based on adiabatic geometric phases. These proposals require quantum systems to undergo adiabatic evolution, which makes quantum systems evolve for a long time. To circumvent this, nonadiabatic geometric quantum computation based on nonadiabatic Abelian geometric phases was proposed soon after. In 2012, nonadiabatic holonomic quantum computation based on nonadiabatic non-Abelian geometric phases was proposed, which also circumvents long-time evolutions. Moreover, compared with nonadiabatic geometric quantum computation that uses the geometric phase as one parameter of a quantum gate, nonadiabatic holonomic quantum computation uses the holonomic matrix itself as a quantum gate. This makes nonadiabatic holonomic quantum computation possess whole-geometric property. Due to the merits of both geometric robustness and high-speed implementation without the limit of adiabatic evolution, nonadiabatic holonomic quantum computation has been attracting much attention. Until now, much progress has been achieved in the field of nonadiabatic holonomic quantum computation. On one hand, various methods have been proposed to design more efficient nonadiabatic holonomic gates. Nonadiabatic holonomic gates were first realized by using resonant laser fields to drive a three-level system. After this, the single-shot proposal and the single-loop proposal were proposed, allowing us to realize one-qubit gates by a shorter path and thereby reducing the exposure time of nonadiabatic holonomic gates to the environment. To further shorten the exposure time, the path-shortening protocol was put forward, where nonadiabatic holonomic gates can be realized based on a class of extended evolution paths that are shorter than the former ones. Recently, a general approach of constructing Hamiltonians for nonadiabatic holonomic quantum computation was put forward, by using which one can easily find a Hamiltonian making the quantum system evolve along a desired path so that nonadiabatic holonomic gates can be realized with an economical evolution time. On the other hand, various methods have been proposed to combine nonadiabatic holonomic gates and various decoherence-resilient methods, making the resulting schemes robust against both control errors and decoherence. The first proposal in this aspect is combining nonadiabatic holonomic gates and decoherence-free subspaces. Gradually, proposals combining nonadiabatic holonomic gates with noiseless subsystems, dynamical decoupling and surface codes were put forward. Last but not least, various proposals suitable for specific physical systems have been proposed and particularly various experimental platforms have been used to demonstrate nonadiabatic holonomic gates. This also significantly improves the development of nonadiabatic holonomic quantum computation. In this paper, we review the above research advances on nonadiabatic holonomic quantum computation, aiming to help readers understand the main developments of nonadiabatic holonomic quantum computation.
- Research Article
10
- 10.1088/1742-6596/1719/1/012103
- Jan 1, 2021
- Journal of Physics: Conference Series
A random walk is one of the widely adopted random processes for simulation and approximation in multiple areas of science and engineering. Quantum random walk is an analog version of the classical random walk. It was first introduced in 1993 by Y. Aharonov et al. They presented that, with the nature of quantum characteristic, the average length of the walking path on a line is possible to larger than a classical random walk can produce. Therefore, the quantum random walk can be used as a tool to construct many other quantum algorithms. Moreover, it can solve graph problems that many real-world problems can be formulated. However, quantum algorithms are only useful in practice if we can implement them efficiently on a quantum computer. In this study, we are then interested in designing and implementing a quantum circuit that can be run on a real quantum computing device. We firstly focus on the most straightforward, which is a one-dimension, quantum random walk algorithm. Then, the quantum circuits are developed and implemented on a real quantum computer and a quantum computing simulator using software development kits provided by IBM. Lastly, the performance and results of the quantum circuits tested on both computing platforms are presented.
- Research Article
9
- 10.1109/jetcas.2022.3201097
- Sep 1, 2022
- IEEE Journal on Emerging and Selected Topics in Circuits and Systems
Recently, a quantum algorithm for a fundamentally important task in data mining, association rules mining (ARM), called qARM for short, has been proposed. Notably, qARM achieves significant speedup over its classical counterpart for implementing the main task of ARM, i.e., finding frequent itemsets from a transaction database. In this paper, we experimentally implement qARM on both real quantum computers and a quantum computing simulator via the IBM quantum computing platform. In the first place, we design quantum circuits of qARM for a 2 <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$\times $ </tex-math></inline-formula> 2 transaction database (i.e., a transaction database involving two transactions and two items), and run it on four real five-qubit IBM quantum computers as well as on the simulator. For a larger 4 <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$\times $ </tex-math></inline-formula> 4 transaction database which would lead to circuits with more qubits and a higher depth than the currently accessible IBM real quantum devices can handle, we also construct the quantum circuits of qARM and execute them on “aer_simulator” alone. Both experimental results show that all the frequent itemsets from the two transaction databases are successfully derived as desired, demonstrating the correctness and feasibility of qARM. Our work may serve as a benchmarking, and provide prototypes for implementing qARM for larger transaction databases on both noisy intermediate-scale quantum devices and universal fault-tolerant quantum computers.
- Research Article
8
- 10.1016/j.tcs.2021.07.024
- Aug 5, 2021
- Theoretical Computer Science
Kindergarden quantum mechanics graduates ...or how I learned to stop gluing LEGO together and love the ZX-calculus
- Conference Article
3
- 10.1109/saner56733.2023.00047
- Mar 1, 2023
Quantum computing is expected to introduce the next era of computing speed and power, and its software - quantum program is gaining increasing research interest in the software engineering community. A significant characteristic of quantum computing is the existence of noise. Unlike classical computers where the output of a program is usually deterministic, the execution of a quantum program may be affected by quantum noise. Such a difference may cause difficulties or misunderstandings for developers shifting from classical programming to quantum programming. To understand the impact of quantum noise on quantum programs and its implications for software developers, we conduct a series of studies with real-world quantum programs and quantum computing environments. Specifically, we first measure and analyze the noise in a real quantum computer by testing it with a basic quantum program. We find that a non-neglectable amount of quantum noise generally exists in real quantum computers. Then we investigate the robustness of quantum programs against different quantum noises by testing 18 real-world quantum programs and 50,000 randomly generated quantum circuits in simulated and real environments. We observe that quantum noise can significantly influence the correctness of quantum programs, and different quantum circuit structures show diverse sensitivity patterns under the same noise. Based on the observations, we build a machine learning model to predict the fidelity of a quantum program under certain quantum noise. The model achieves a small average fidelity prediction error, meaning the impact of noise can be precisely estimated statistically.
- Research Article
- 10.1088/2632-2153/ae16fc
- Nov 4, 2025
- Machine Learning: Science and Technology
Compared with traditional computers, quantum computers can provide exponential acceleration for certain critical fields. However, the coupling of quantum systems with the environment, along with the intrinsic characteristics of quantum systems, has collectively introduced quantum noise, which has emerged as a significant impediment to the development of quantum computing. Quantum error mitigation (QEM) has been proposed as an alternative solution in the NISQ era. In recent years, with the rise of artificial intelligence, machine learning-based QEM technology has received attention from the industry. However, the latest machine learning-based QEM techniques have limitations, especially their inability to mitigate errors in the quantum circuits whose number of qubits exceeds the number of qubits in the training set, and their tendency to amplify noise when constructing feature sets. This paper proposes QEMOS, a novel random forest-based machine learning model that utilizes a new feature dataset incorporating quantum computer backend properties, with feature dimensionality reduction enabling decoupling from the number of qubits. The model is trained and tested using six different simulators from Qiskit and a real quantum computer tianyan-176. It is worth noting that this model overcomes the limitation of sensitivity to the number of qubits, which was the main problem of previous methods. When trained on 5-9 qubit circuits, the model achieves a probability of correct mitigation of 86.38% on 2-13 qubit circuits, though this efficacy is observed primarily for circuits exhibiting high-probability outputs and decreases as all output probabilities approach zero. Compared to the baseline, the model demonstrates a 31.74% error reduction on test sets with more qubits than the training set. On real quantum computer, testing shows an average error reduction of 67.5%.
- Research Article
2
- 10.1515/teme-2023-0008
- May 11, 2023
- tm - Technisches Messen
The size and number of images and the amount of data we process every day have grown rapidly over the last years. Quantum computers promise to process this data more efficiently since classical images can be stored in quantum states. Experiments on quantum computer simulators prove the paradigms this promise is built on to be correct. However, currently, running the very same algorithms on a real quantum computer is often too error-prone to be of any practical use. We explore the current possibilities for image processing on real quantum computers. We redesign a commonly used quantum image encoding technique to reduce its susceptibility to errors. We show experimentally that the current size limit for images to be encoded on a quantum computer and subsequently retrieved with an error of at most 5 % is 2 × 2 pixels. A way to circumvent this limitation is to combine ideas of classical filtering with a quantum algorithm operating locally, only. We show the practicability of this strategy using the application example of edge detection. Our hybrid filtering scheme’s quantum part is an artificial neuron, working well on real quantum computers, too.
- Research Article
15
- 10.3390/app11146427
- Jul 12, 2021
- Applied Sciences
Quantum computing is a new paradigm for a multitude of computing applications. This study presents the technologies that are currently available for the physical implementation of qubits and quantum gates, establishing their main advantages and disadvantages and the available frameworks for programming and implementing quantum circuits. One of the main applications for quantum computing is the development of new algorithms for machine learning. In this study, an implementation of a quantum circuit based on support vector machines (SVMs) is described for the resolution of classification problems. This circuit is specially designed for the noisy intermediate-scale quantum (NISQ) computers that are currently available. As an experiment, the circuit is tested on a real quantum computer based on superconducting qubits for an application to detect weak signals of the future. Weak signals are indicators of incipient changes that will have a future impact. Even for experts, the detection of these events is complicated since it is too early to predict this impact. The data obtained with the experiment shows promising results but also confirms that ongoing technological development is still required to take full advantage of quantum computing.
- Book Chapter
7
- 10.1007/978-981-19-9530-9_16
- Jan 1, 2023
Quantum computing has become a new buzzword in recent years. Although quantum computing techniques have been available in the literature for the past 40 or more years, the desire for real-time implementation of such quantum computing techniques has become possible due to the ongoing superspeed development of quantum computers by multinational corporations. Albeit, only 40 qubits quantum computer has been developed to date. Still, the pathway of big corporations reveals that by the end of this decade, a full-fledged quantum computer will be available in the market for everyone. Quantum computing uses quantum key distribution for quantum communication. It is expected that quantum computing and quantum communication will completely change the workflow of many industries. Studies are also predicting that the market demand for the quantum computing industry will be in multi-trillion dollars as early as 2030. Besides, the perspective of researchers has been drastically changing due to the plethora of opportunities brought forth by quantum computing for data processing and data encryption tasks. The quantum computer is deep-rooted in uncertainty principle, and probability theories thereby prohibit the copying and replicating of quantum information. Consequently, the guarantee of unconditional security for transmitted data is ensured, otherwise impossible. Generally, transmitted data are hacked due to attackers’ generation of keys replica. We may note that despite quantum computing being in a nascent stage, it possesses the potential to change internet activities by speeding up many tasks. Many day-to-day activities of many industries like finance, healthcare, and security will unseal imperceptible abilities. Furthermore, many big corporations invest in developing quantum computers and open-source tools to enable the development of quantum programs running on quantum computers. Also, community-driven activities are accomplished to upgrade the skills of current software developers to make them ready with appropriate skills for the development of future quantum software, which will run on large bits quantum computers. In this direction, Microsoft Incorporation has not only developed a quantum development kit (QDK) but also provides cloud-based quantum computing as a service, namely Azure Quantum, for developing and testing new quantum programs for the community. The newly designed quantum programs can now be simulated locally or run on the real quantum computer through Azure Quantum. Consequently, this chapter introduces the what, when, and why’s of quantum computing. Also, this chapter presents all necessary tools (with detailed installation and execution steps) required by the quantum developer for the possible development of a quantum program.
- Research Article
15
- 10.1002/que2.77
- Sep 6, 2021
- Quantum Engineering
The variational quantum eigensolver (VQE) is a promising algorithm to demonstrate quantum advantage on near-term noisy-intermediate-scale quantum (NISQ) computers. One central problem of VQE is the effect of noise, especially physical noise, on realistic quantum computers. We systematically study the effect of noise for the VQE algorithm by performing numerical simulations with various local noise models, including amplitude damping, dephasing, and depolarizing noise. We show that the ground state energy will deviate from the exact value as the noise probability increase, and typically, the noise will accumulate as the circuit depth increase. The results suggest that the noisy quantum system can remain entanglement at the noise level of NISQ devices by comparing the VQE solution with the mean-field solution for the many-body ground state problem. We build a noise model to capture the noise in a real quantum computer, and the corresponding numerical simulation is consistent with experimental results on IBM Quantum computers through cloud. Our work sheds new light on the practical research of noisy VQE, and the deep understanding of the noise effect of VQE will also help develop error mitigation techniques on near-term quantum computers.
- Research Article
- 10.1088/1742-6596/2209/1/012022
- Feb 1, 2022
- Journal of Physics: Conference Series
Quantum NOT gates play an important role in the process of quantum information conversion. However, when the X-gate operation is executed on a real quantum computer, there is a large deviation between the actual operation result and the theory, which will lead to inaccurate results when the quantum algorithm containing the X-gate operation is executed. In order to facilitate users to understand the error fluctuations of the X gate in time before executing the quantum algorithm containing the X gate operation on the IBM quantum cloud platform, this paper proposes a method to measure the X gate error. By measuring the X-gate error of four small-scale superconducting quantum computers on the back end of the IBM quantum cloud platform, analyze the degree of fluctuation of the actual measurement value of the quantum device; at the same time, under different execution times shots, the influence of the X-gate test is analyzed. The test results show that the measured value of each qubit of different quantum devices fluctuates to different degrees; the execution times of shots are different, and the test results of X-gate error will be affected to different degrees. This test method helps users select the optimal performance of the qubits before executing quantum algorithms with X gate on IBM's small-scale quantum computers.
- Conference Article
- 10.23919/softcom52868.2021.9559108
- Sep 23, 2021
The purpose of the research presented in this paper is finding the best execution times for searching subgraph isomorphisms. For this was created the GR3 Algorithm, its design consisting of a combination of Parallel Programming and Quantum Computing. The obtained execution times are significantly small. Thus can be deduced that an approach such as this is superior in obtaining the required results. The original contribution consists in studying a Parallel Programming approach combined with Quantum Computing Circuits and Grover’s Algorithm for searching subgraph isomorphisms using a laptop and real quantum computers [16].
- Conference Article
3
- 10.1109/nas55553.2022.9925456
- Oct 1, 2022
The current generation of quantum computers calls for quantum algorithms that require a limited number of quantum gates and are resilient to noises. A suitable design strategy is variational circuits where parameters of circuits are determined through training, an approach that conforms with characteristics of machine learning applications. In this paper, we propose a low-depth and implementation-efficient non-linear activation function for quantum neural networks (QNNs). The building block of a quantum circuit is quantum gate which is a unitary operation. Thus, building a non-linear component out of quantum gates is challenging. While the majority of prior works used measurement as the source of non-linearity, this method has limited ability in classifying datasets. We propose a quantum circuit for the popular Rectified Linear Unit (ReLU) activation function. Our proposed circuit is based on low-cost quantum gates that can be synthesized into primitive gates in contemporary quantum computers. We exploit QNNs that rely on quantum rotation to define decision boundaries for classification problems. In addition, we use controlled quantum gates to detect correlation in data through entanglement of qubits. Our evaluations reveal that QNNs equipped with our proposed quantum ReLU perform well on standard benchmark datasets while requiring dramatically fewer number of epochs for training compared with classical neural networks. In addition, we run QNNs with different number of quantum layers on an IBM quantum computer and show that our proposed circuits are practical and generate meaningful results on real quantum computers.
- Research Article
- 10.7498/aps.72.20222003
- Jan 1, 2023
- Acta Physica Sinica
In order to improve the training efficiency of the support vector machine, a quantum circuit training scheme based on the inner product of the quantum state for the support vector machine is proposed in this work. Firstly, on the basis of the full analysis of the computational complexity of the classical support vector machine, the kernel function which is the main factor affecting the computational complexity of the algorithm is primarily analyzed. Based on quantum mechanics and quantum computing theory, the training sample elements in the kernel function are quantized to generate the corresponding quantum states. Secondly, according to the quantum states of the training sample elements, the types and quantities of the required quantum logic gates are derived and calculated, and the quantum circuit that can generate the corresponding quantum states of the training sample elements through the evolution of the quantum initial ground states and the quantum logic gates is designed. Then, in the light of the relationship between the inner product of the quantum state and the quantum logic gate SWAP, the quantum circuit is designed to complete the exchange operation of the corresponding quantum state amplitude. The inner product of the quantum state is realized by exchanging and evolving the amplitude of the quantum state in the quantum circuit. Finally, by measuring the quantum state of the controlling qubit, the inner product solution of the kernel function is obtained, and the acceleration effect of training support vector machine is realized. The verification results show that the scheme enables the support vector machine not only to complete the correct classification, but also to operate the quantum part of the scheme on the real quantum computer . Compared with the classical algorithm, the scheme reduces the time complexity of the algorithm for the polynomial degree, greatly shortens the training time of the model, and improves the efficiency of the algorithm. The scheme has certain feasibility, effectiveness and innovation, and expands the training idea of the support vector machine.
- Ask R Discovery
- Chat PDF
AI summaries and top papers from 250M+ research sources.