基于门的量子计算
创建量子门和电路,在本地计算机上对电路进行模拟,并使用 Amazon® Web Services (AWS®) 在远程硬件上运行电路。
类
quantumCircuit | Quantum computing circuit (自 R2023a 起) |
quantum.gate.SimpleGate | Simple gate for quantum computing (自 R2023a 起) |
quantum.gate.CompositeGate | Composite gate for quantum computing (自 R2023a 起) |
quantum.gate.QuantumState | State of qubits in quantum circuit (自 R2023a 起) |
quantum.gate.QuantumMeasurement | Measurement result of quantum circuit (自 R2023a 起) |
quantum.backend.QuantumDeviceAWS | Quantum device available through AWS (自 R2023a 起) |
quantum.backend.QuantumTaskAWS | Task sent to AWS for execution on quantum device (自 R2023a 起) |
属性
QuantumCircuitChart Properties | Quantum circuit plot appearance and behavior (自 R2023b 起) |
函数
主题
- 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 an efficient method for using qubits to encode a protein fold on a 3-D tetrahedral lattice [1], [2].
- Solve XOR Problem Using Quantum Neural Network (QNN)
This example shows how to solve the XOR problem using a trained quantum neural network (QNN).
- Quantum Monte Carlo (QMC) Simulation
This example shows how to use Quantum Monte Carlo (QMC) simulation in MATLAB® to compute the mean of a function of a random variable.