For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
OverviewCodaControlAPI ReferenceChangelog
OverviewCodaControlAPI ReferenceChangelog
  • Getting Started
    • Overview
    • Quickstart
  • MCP
    • MCP Integration
  • Capabilities
    • Simulation
    • Transpilation
    • QPU Submission
    • Agents
  • Node
    • Overview
    • Integration Guide
    • Protocol
    • QubiC Example
LogoLogo
On this page
  • Backends
  • Simulation methods
  • Example
  • Related endpoints
Capabilities

Simulation

Simulate quantum circuits on CPU or GPU backends.
Was this page helpful?
Built with

The simulation endpoint runs a quantum circuit and returns measurement results, statevectors, or density matrices depending on the chosen method.

Backends

BackendDescriptionAvailability
aerCPU-based Qiskit Aer simulatorAll plans
cudaqGPU-accelerated CUDA-Q simulatorPro and above
autoAutomatically selects the best backendPro and above

Free-tier users are limited to the aer backend with a maximum of 16 qubits. Paid plans support GPU simulation up to 29 qubits.

Simulation methods

MethodDescription
qasmExecutes the circuit with measurement sampling. Returns counts.
statevectorReturns the full quantum state as a complex vector.
density_matrixReturns the density matrix representation.

Example

1from conductorquantum import ConductorQuantum
2
3client = ConductorQuantum(token="<your-api-key>")
4result = client.coda.simulate(
5 code="from qiskit import QuantumCircuit\nqc = QuantumCircuit(2)\nqc.h(0)\nqc.cx(0, 1)\nqc.measure_all()",
6 method="qasm",
7 shots=1024,
8)
9print(result)

Related endpoints

  • POST /simulate: run a circuit simulation
  • POST /estimate-resources: analyse circuit complexity before simulating
  • POST /split-circuit: split large circuits using circuit cutting

See the Coda API Reference for full request and response schemas.