Quantum Computing in MATLAB
Matt Bowring, Steve Grikschat, Paul Kerr-Delworth, Patrick Quillen, Christine Tobler
Abstract
We present the new MATLAB Support Package for Quantum Computing, which provides utilities to build, simulate, and visualize quantum circuits. Additionally, it is possible to connect to hardware providers and run circuits on their quantum computers.
The capabilities of this software package include
-
• Constructing a circuit from a set of quantum gates, which are applied to specific qubits. In addition to a set of standard simple gates, more complex gates are available: mcxGate [1]; initGate, unitaryGate, ucrxGate, ucryGate, and ucrzGate [2, 3].
-
• Verifying the quantum algorithm by simulating it on the local computer or sending it to a remote simulator through cloud services.
-
• Executing the circuit by connecting to quantum computing hardware through cloud services (specifically, IBM Qiskit Runtime Services and Amazon Web Services). This involves sending hardware-specific quantum assembly (OpenQASM) code to these services.
-
• Creating quadratic unconstrained binary optimization (QUBO) problems and solving them on the local computer using Tabu search [4].
This package enables the prototyping of quantum algorithms that have applications in optimization, scenario simulation, machine learning, as well as chemistry and material simulations.
References
-
[1] A. Barenco et al. Elementary Gates for Quantum Computation. Physical Review A, 52(5):3457–3467, 1995.
-
[2] V. V. Shende, S. S. Bullock, and I. L. Markov. Synthesis of Quantum–Logic Circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 25(6):1000–1010, 2006.
-
[3] D. Camps and R. Van Beeumen. FABLE: Fast Approximate Quantum Circuits for Block Encodings. 2022 IEEE International Conference on Quantum Computing and Engineering (QCE), 104–113. 2022.
-
[4] G. Palubeckis. Iterated Tabu Search for the Unconstrained Binary Quadratic Optimization Problem. Informatica 17(2), 279–296, 2006.