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
    • API Keys
  • Models
    • Overview
    • Coulomb Blockade
    • Coulomb Diamond
    • Charge Stability Diagram
    • Electron Unload
    • Anticrossing
    • Turn-on
    • Pinch-off
    • Resonator Dip Finder
    • QEC Decoding
  • Agents
    • NVIDIA Ising Calibration
  • Stanza
    • Overview
    • Quickstart
    • Cookbooks
LogoLogo
On this page
  • Run your first model
Getting Started

Quickstart

Was this page helpful?
Built with

Run your first model

1

Generate API key

Sign in and create a new API key. Remember, your API key is your access secret - keep it safe with environment variables.

2

Install package

Install the Conductor Quantum SDK.

$pip install conductorquantum
3

Run your first model

1from conductorquantum import ConductorQuantum
2
3client = ConductorQuantum(
4 token="YOUR_TOKEN",
5)
6
7with open("path/to/file.npy", "rb") as f:
8 client.control.models.run(
9 model="coulomb-blockade-peak-detector-v2",
10 data=f,
11 )

When you have multiple traces, coulomb-blockade-peak-detector-v2 also supports batching through client.control.models.batch.run(...).

Python
1import numpy as np
2from conductorquantum import ConductorQuantum
3
4client = ConductorQuantum(
5 token="YOUR_TOKEN",
6)
7
8trace_a = ...
9trace_b = ...
10batch = np.stack([trace_a, trace_b])
11
12client.control.models.batch.run(
13 model="coulomb-blockade-peak-detector-v2",
14 data=batch,
15)