MATLAB Support Package for Quantum Computing

Build, Simulate, and Run Quantum Algorithms
Updated 18 Apr 2024
MATLAB Support Package for Quantum Computing lets you build, simulate, and run quantum algorithms. The support package enables you to prototype algorithms to accelerate solving problems such as optimization, scenario simulation, and artificial intelligence (AI) and machine learning tasks, as well as currently unsolvable problems in chemistry and material simulations.
With MATLAB Support Package for Quantum Computing, you can:
  • Build circuits to implement quantum algorithms using a variety of built-in and customizable composite gates
  • Verify implementation of algorithms using simulations in your local computer or connect to a remote simulator through cloud services
  • Execute quantum algorithms by connecting to quantum computing hardware through cloud services
  • Visualize circuits to verify implementations of the algorithms and individual qubits, as well as analyze and plot results
  • Create and solve quadratic unconstrained binary optimization (QUBO) problems on your local computer
For more details on capabilities for this support package, please visit:
Version History
To use the MATLAB® Support Package for Quantum Computing with the most recent capabilities, the best practice is to use the latest MATLAB release and install the latest version of the support package. However, if you have an older MATLAB release, you may still be able to install the support package. Consult the following list for the release notes in each MATLAB release with the associated version number for the support package. Only the most recent version of the support package is available for installation.
April 2024: Use batch session mode on IBM Qiskit Runtime Services R2024a (24.1.1), R2023b (23.2.3), R2023a (23.1.6)
January 2024: 5 new composite gate functions for data encoding R2024a (24.1.0), R2023b (23.2.2), R2023a (23.1.5)
October 2023: Connect to quantum hardware provided by IBM Qiskit Runtime Services R2023b (23.2.1), R2023a (23.1.4)
September 2023: Improved circuit plot appearance and new QuantumCircuitChart objects R2023b (23.2.0), R2023a (23.1.3)
July 2023: Solve Quadratic Unconstrained Binary Optimization (QUBO) problems included in R2023b (23.2.0), R2023a (23.1.2)
May 2023: Minor improvements and bug fixes included in R2023b (23.2.0), R2023a (23.1.1)
March 2023: Build, simulate, and run quantum algorithms included in R2023b (23.2.0), R2023a (23.1.0)
For detailed release notes, see MATLAB Release Notes (filtered for quantum support package). To check the version number of the support packages you have installed, use matlabshared.supportpkg.getInstalled.
MATLAB Release Compatibility
Created with R2023a
Compatible with R2023a to R2024a
Platform Compatibility
Windows macOS (Apple silicon) macOS (Intel) Linux

Inspired: Strangeworks

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!