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
  • Supported frameworks
  • Transpile between frameworks
  • Convert to OpenQASM 3.0
  • Related endpoints
Capabilities

Transpilation

Convert quantum circuits between frameworks and representations.
Was this page helpful?
Built with

Coda can convert quantum circuit code between different frameworks and output formats.

Supported frameworks

The transpilation endpoint converts source code written in any of these frameworks to any other:

FrameworkImport style
Qiskitfrom qiskit import QuantumCircuit
Cirqimport cirq
PennyLaneimport pennylane as qml
Braketfrom braket.circuits import Circuit
PyQuilfrom pyquil import Program
CUDA-Qimport cudaq
OpenQASMOpenQASM 2.0/3.0 string

Transpile between frameworks

1from conductorquantum import ConductorQuantum
2
3client = ConductorQuantum(token="<your-api-key>")
4result = client.coda.transpile(
5 source_code="from qiskit import QuantumCircuit\nqc = QuantumCircuit(2)\nqc.h(0)\nqc.cx(0, 1)",
6 target="cirq",
7)
8print(result)

Convert to OpenQASM 3.0

The dedicated OpenQASM 3.0 endpoint converts Qiskit circuits to the OpenQASM 3.0 standard:

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

Related endpoints

  • POST /transpile: convert between quantum frameworks
  • POST /to-openqasm3: convert to OpenQASM 3.0

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