Simulate
Run a quantum circuit simulation and return results.
Supports three simulation methods: `qasm` (measurement sampling), `statevector`
(full quantum state), and `density_matrix`. Choose between CPU (`aer`),
GPU-accelerated (`cudaq`), or automatic backend selection (`auto`).
Free-tier users are limited to the `aer` backend with a maximum of 16 qubits.
Paid plans support GPU simulation up to 29 qubits.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
code
Python code containing the quantum circuit
method
Simulation method
Allowed values:
shots
seed_simulator
backend
Simulation backend
Allowed values:
Response
Successful Response
success
method
backend
shots
counts
probabilities
statevector
density_matrix
circuit_depth
circuit_gate_count
Errors
422
Unprocessable Entity Error