The MATLAB® Support Package for Quantum Computing enables you to prototype gate-based quantum algorithms. You can assemble quantum gates into a quantum circuit, simulate circuits on your local computer, and run circuits on remote hardware using Amazon® Web Services (AWS®).
To install the MATLAB Support Package for Quantum Computing, locate the add-on in Add-On Explorer using the instructions in Get and Manage Add-Ons.
|Quantum computing circuit|
|Simple gate for quantum computing|
|Composite gate for quantum computing|
|State of qubits in quantum circuit|
|Measurement result of quantum circuit|
|Quantum device available through AWS|
|Task sent to AWS for execution on quantum device|
Gate Creation Functions
Gates on One Target Qubit
|x-axis rotation gate|
|y-axis rotation gate|
|z-axis rotation gate|
|z-axis rotation gate with global phase|
|Inverse S gate|
|Inverse T gate|
Gates with One Control Qubit and One Target Qubit
|Controlled Hadamard gate|
|CNOT gate (controlled X gate)|
|Controlled X gate (CNOT gate)|
|Controlled Y gate|
|Controlled Z gate|
Gates That Swap States of Two Qubits
Controlled Rotation Gates
|Controlled x-axis rotation gate|
|Controlled y-axis rotation gate|
|Controlled z-axis rotation gate|
|Controlled z-axis rotation gate with global phase|
Controlled Controlled X Gate
|Controlled controlled X gate (CCNOT or Toffoli gate)|
Ising Coupling Gates
Composite and Specialized Gates
|Construct composite gate for quantum computing|
|Quantum Fourier transform gate|
|Multi-controlled X gate|
- Introduction to Quantum Computing
This topic contains background information about qubits, quantum gates, and quantum circuits.
- Types of Quantum Gates
This topic describes the different types of quantum gates to build quantum algorithms.
- Local Quantum State Simulation
This topic describes how to simulate a quantum circuit locally and analyze the simulation results.
- Run Quantum Circuit on Hardware Using AWS
This topic describes how to run quantum circuits on remote hardware using Amazon Web Services.
- Graph Coloring with Grover's Algorithm
This example shows how to use Grover's algorithm on a quantum computer to solve graph coloring problems.
- Ground-State Protein Folding Using Variational Quantum Eigensolver (VQE)
This example shows how to use qubits in a quantum circuit to encode a protein fold on a 3-D tetrahedral lattice.