Skip to main content
Introducing The Quantum Infrastructure Cloud Learn more

SDK libraries

Build with SoftQuantus quantum computing software

Python SDK and CLI on PyPI today; TypeScript, Go, Rust and C++ SDKs are planned. Type-safe and documented, with the same REST contract underneath.

Today

One SDK you can install now.

softqcos-sdk 3.11.1 is the Python client for QCOS, QuantumLock, SynapseX and QCOS Bench. The other four languages are planned; their samples below show the shape of the client, not a package you can download.

Type hints

softqcos-sdk 3.11.1

Async support

softqcos-sdk 3.11.1

Jupyter integration

softqcos-sdk 3.11.1

NumPy/SciPy compatibility

softqcos-sdk 3.11.1

Install.

Installation
pip install softqcos-sdk

The key is read from api_key=, then QCOS_API_KEY, then softqcos login. The first run is on the CPU state-vector simulator, up to 24 qubits.

Quick start.

Python
from softqcos_sdk import QCOSClient

# The key is read from api_key=, then QCOS_API_KEY, then `softqcos login`
qcos = QCOSClient(api_key="your-api-key")

# Pick a backend
backends = qcos.backends.list()

# Submit a quantum circuit
job = qcos.jobs.submit(
    qasm="OPENQASM 2.0; ...",
    backend_id="simulator",
    shots=1000,
)

# Wait for the run and read the counts back
result = qcos.jobs.wait(job["job_id"])
print(f"Results: {result['result']['counts']}")

# Artifacts of the run, including the evidence bundle sealed under a SHA-256 Merkle root
artifacts = qcos.jobs.artifacts(job["job_id"])
print(f"Artifacts: {artifacts}")

SDK explorer

Every language, in one panel.

Pick a language in the rail. Open a card to read its install line or quick start; the tabs split them. Python is published, the rest are planned.

Python

  • v3.11.1pip install softqcos-sdk
  • PythonType hintsAsync supportJupyter integrationNumPy/SciPy compatibility
  • v3.11.1QCOSQuantumLockSynapseXQCOS Bench
Samples for planned SDKs are illustrative.

SDK comparison.

  • Python

    softqcos-sdk

    v3.11.1

    QCOS · QuantumLock · SynapseX · QCOS Bench

    pip install softqcos-sdk

    Documentation

  • TypeScript/JavaScript

    softquantus-js

    Planned

    QCOS · QuantumLock · SynapseX

    # planned — not yet published

    Planned

  • Go

    softquantus-go

    Planned

    QCOS · QuantumLock · SynapseX

    # planned — not yet published

    Planned

  • Rust

    softquantus-rust

    Planned

    QCOS · QuantumLock

    # planned — not yet published

    Planned

  • C++

    softquantus-cpp

    Planned

    QCOS · SynapseX

    # planned — not yet published

    Planned

Ready to start building?

Full documentation, examples and support.