QCOS REST API Reference
Complete REST API documentation for the Quantum Circuit Optimization Service.
Version: 2.1.0 · Base URL: https://api.softquantus.com · Endpoints: 293 · Auth: Authorization: Bearer sk-...
Authentication
curl -H "Authorization: Bearer $QCOS_API_KEY" \
-H "Content-Type: application/json" \
https://api.softquantus.com/api/v2/jobs
| Status | Meaning |
|---|---|
| 401 | Invalid API key |
| 403 | Insufficient permissions |
| 422 | Validation error |
| 429 | Rate limited (Retry-After header) |
| 500 | Server error |
Jobs
| Method | Path | Description |
|---|---|---|
POST | /api/v2/jobs | Submit a job |
GET | /api/v2/jobs | List jobs |
GET | /api/v2/jobs/{job_id} | Get job details |
GET | /api/v2/jobs/{job_id}/results | Get results |
DELETE | /api/v2/jobs/{job_id} | Cancel job |
GET | /api/v2/jobs/{job_id}/evidence | Get evidence |
GET | /api/v2/jobs/{job_id}/bundle | Get full bundle |
POST | /api/v2/jobs/{job_id}/verify | Verify evidence |
Submit Job
curl -X POST https://api.softquantus.com/api/v2/jobs \
-H "Authorization: Bearer $QCOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"qasm": "OPENQASM 2.0; ...", "shots": 1024, "backend": "aer_simulator"}'
Response (201):
{
"job_id": "job-abc123",
"status": "queued",
"backend": "aer_simulator",
"shots": 1024,
"created_at": "2025-02-01T12:00:00Z"
}
Get Results
curl https://api.softquantus.com/api/v2/jobs/job-abc123/results \
-H "Authorization: Bearer $QCOS_API_KEY"
{
"job_id": "job-abc123",
"status": "completed",
"counts": {"00": 512, "11": 512},
"shots": 1024
}
Circuits
| Method | Path | Description |
|---|---|---|
POST | /api/v2/circuits | Submit circuit |
GET | /api/v2/circuits | List circuits |
GET | /api/v2/circuits/{id} | Get circuit |
DELETE | /api/v2/circuits/{id} | Delete circuit |
POST | /api/v2/circuits/validate | Validate syntax |
POST | /api/v2/circuits/convert | Convert format |
GET | /api/v2/circuits/{id}/stats | Circuit statistics |
POST | /api/v2/optimize | Optimize circuit |
POST | /api/v2/simulate | Simulate circuit |
Backends (BYOB™)
User Backends
| Method | Path | Description |
|---|---|---|
GET | /api/v2/backends/providers | List providers |
GET | /api/v2/backends | List backends |
GET | /api/v2/backends/{id} | Get backend |
POST | /api/v2/backends | Register backend |
PUT | /api/v2/backends/{id} | Update |
DELETE | /api/v2/backends/{id} | Remove |
POST | /api/v2/backends/validate | Validate credentials |
POST | /api/v2/backends/execute | Execute |
GET | /api/v2/backends/all | All backends |
IBM Quantum
| Method | Path | Description |
|---|---|---|
GET | /api/v2/ibm/backends | List backends |
POST | /api/v2/ibm/estimate | Estimate cost |
POST | /api/v2/ibm/execute | Execute |
GET | /api/v2/ibm/status/{id} | Job status |
DELETE | /api/v2/ibm/jobs/{id} | Cancel |
Azure Quantum
| Method | Path | Description |
|---|---|---|
GET | /api/v2/azure/providers | Providers |
GET | /api/v2/azure/targets | Targets |
GET | /api/v2/azure/backends | Backends |
POST | /api/v2/azure/estimate | Estimate |
POST | /api/v2/azure/execute | Execute |
GET | /api/v2/azure/status/{id} | Status |
DELETE | /api/v2/azure/jobs/{id} | Cancel |
AWS Braket
| Method | Path | Description |
|---|---|---|
GET | /api/v2/braket/backends | Backends |
POST | /api/v2/braket/estimate | Estimate |
POST | /api/v2/braket/execute | Execute |
GET | /api/v2/braket/status/{id} | Status |
DELETE | /api/v2/braket/jobs/{id} | Cancel |
Bench (QCOS Bench™)
| Method | Path | Description |
|---|---|---|
POST | /api/v2/bench/run | Run benchmark |
GET | /api/v2/bench/report/{id} | Get report |
GET | /api/v2/bench/report/{id}/download | Download PDF |
GET | /api/v2/bench/suites | List suites |
GET | /api/v2/bench/suites/{id} | Get suite |
GET | /api/v2/bench/workloads | List workloads |
POST | /api/v2/bench/verify | Verify evidence |
GET | /bench/health | Service health |
GET | /bench/selftest | Self-test |
GET | /bench/metrics/coverage | Coverage metrics |
GET | /bench/metrics/kpis | KPI metrics |
Calibration (GlassBox™)
| Method | Path | Description |
|---|---|---|
GET | /api/v2/glassbox/health | Health |
GET | /api/v2/glassbox/info | Service info |
GET | /api/v2/glassbox/devices | List devices |
GET | /api/v2/glassbox/devices/{name}/state | Device state |
GET | /api/v2/glassbox/devices/{name}/qubits/{id} | Qubit data |
POST | /api/v2/glassbox/compile | Compile circuit |
GET | /api/v2/glassbox/compile/{id} | Compile status |
POST | /api/v2/glassbox/evidence/create | Create evidence |
GET | /api/v2/glassbox/evidence/{id} | Get evidence |
POST | /api/v2/glassbox/evidence/verify | Verify |
POST | /api/v2/glassbox/evidence/{id}/sign | Sign |
POST | /api/v2/glassbox/evidence/{id}/finalize | Finalize |
GET | /api/v2/glassbox/evidence/{id}/audit-trail | Audit trail |
Get Device State
curl https://api.softquantus.com/api/v2/glassbox/devices/ibm_brisbane/state \
-H "Authorization: Bearer $QCOS_API_KEY"
{
"device_name": "ibm_brisbane",
"num_qubits": 127,
"t1": 245.3,
"t2": 178.9,
"readout_error": 0.012,
"gate_errors": {"cx": 0.008, "sx": 0.0003},
"last_calibration": "2025-02-01T08:00:00Z"
}
Billing (ROI Engine™)
| Method | Path | Description |
|---|---|---|
GET | /api/v2/roi/providers | List providers |
GET | /api/v2/roi/pricebook | Full pricebook |
GET | /api/v2/roi/plans | Subscription plans |
POST | /api/v2/roi/calculate | Cost estimate |
POST | /api/v2/roi/calculate/scenarios | Multi-scenario |
GET | /api/v2/roi/compare-providers | Compare providers |
POST | /api/v2/roi/report/data | Report data |
POST | /api/v2/roi/report/pdf | Report PDF |
POST | /api/v2/roi/report/latex | Report LaTeX |
Network (QuantumNet™)
| Method | Path | Description |
|---|---|---|
GET | /api/v1/network/health | Health |
GET | /api/v1/network/status | Status |
GET | /api/v1/network/topology | Topology |
GET | /api/v1/network/backends | Backends |
POST | /api/v1/network/entangle | Entangle qubits |
POST | /api/v1/network/teleport | Teleport state |
POST | /api/v1/network/remote-cnot | Remote CNOT |
POST | /api/v1/network/barrier | Barrier |
GET | /api/v1/network/phase0/ion-species | Ion species |
POST | /api/v1/network/phase0/sweep | Phase 0 sweep |
POST | /api/v1/network/phase0b/analyze | Phase 0b analyze |
POST | /api/v1/network/phase0b/recommend | Phase 0b recommend |
GET | /api/v1/network/jobs | List jobs |
GET | /api/v1/network/jobs/{id}/status | Job status |
GET | /api/v1/network/jobs/{id}/result | Job result |
GET | /api/v1/network/jobs/{id}/evidence | Job evidence |
GET | /api/v1/network/evidence/{id} | Evidence |
GET | /api/v1/network/evidence/bundle/{id} | Evidence bundle |
QEC Runtime™
| Method | Path | Description |
|---|---|---|
GET | /api/v1/qec/health | Health |
GET | /api/v1/qec/codes/catalog | List codes |
GET | /api/v1/qec/codes/{id} | Get code |
POST | /api/v1/qec/codes/create | Create code |
POST | /api/v1/qec/decoder/decode | Decode syndrome |
POST | /api/v1/qec/syndrome/extract | Extract syndrome |
POST | /api/v1/qec/pbc/compile | Compile PBC |
POST | /api/v1/qec/pipeline | Full pipeline |
GET | /api/v1/qec/isolation/zones | List zones |
GET | /api/v1/qec/isolation/zones/{id} | Get zone |
POST | /api/v1/qec/isolation/zones | Create zone |
DELETE | /api/v1/qec/isolation/zones/{id} | Delete zone |
POST | /api/v1/qec/isolation/certify | Certify |
GET | /api/v1/qec/isolation/evidence/{id} | Evidence |
GET | /api/v1/qec/isolation/certificates | Certificates |
Isolation (ZoneGuard™)
| Method | Path | Description |
|---|---|---|
GET | /api/v1/isolation/health | Health |
GET | /api/v1/isolation/crosstalk | Crosstalk matrix |
GET | /api/v1/isolation/zones | List zones |
GET | /api/v1/isolation/zones/{id} | Get zone |
POST | /api/v1/isolation/allocate | Allocate zone |
POST | /api/v1/isolation/execute | Execute in zone |
DELETE | /api/v1/isolation/zones/{id} | Delete zone |
GET | /api/v1/isolation/evidence/{id} | Evidence |
DRI™
| Method | Path | Description |
|---|---|---|
GET | /api/v1/dri/health | Health |
POST | /api/v1/dri/run | Run assessment |
POST | /api/v1/dri/probe | Run probe |
GET | /api/v1/dri/list | List assessments |
GET | /api/v1/dri/report/{id} | Get report |
GET | /api/v1/dri/summary/{id} | Get summary |
GET | /api/v1/dri/evidence/{id} | Get evidence |
POST | /api/v1/dri/proof/run | Proof-of-quantum |
GET | /api/v1/dri/proof/{id} | Get proof |
GET | /api/v1/dri/proof/{id}/report | Proof report |
GET | /api/v1/dri/proof/{id}/certificate.pdf | Certificate PDF |
POST | /api/v1/dri/proof/compare | Compare proofs |
GET | /api/v1/dri/proof/compare/{id} | Comparison result |
GET | /api/v1/dri/proof/compare/{id}/certificate.pdf | Comparison PDF |
Ledger (QuantumLedger™)
| Method | Path | Description |
|---|---|---|
GET | /api/v1/ledger/jobs | Metered jobs |
GET | /api/v1/ledger/jobs/{id} | Job details |
GET | /api/v1/ledger/tenants | List tenants |
GET | /api/v1/ledger/tenants/{id} | Get tenant |
POST | /api/v1/ledger/tenants | Create tenant |
GET | /api/v1/ledger/budgets | List budgets |
GET | /api/v1/ledger/budgets/{id} | Get budget |
POST | /api/v1/ledger/budgets | Create budget |
GET | /api/v1/ledger/projects | List projects |
POST | /api/v1/ledger/projects | Create project |
GET | /api/v1/ledger/pricing | Pricing |
POST | /api/v1/ledger/estimate | Estimate cost |
GET | /api/v1/ledger/provenance/{id} | Provenance |
GET | /api/v1/ledger/reports/usage | Usage report |
POST | /api/v1/ledger/reports/audit | Audit report |
POST | /api/v1/ledger/reports/chargeback | Chargeback |
NavCore™
Core Navigation
| Method | Path | Description |
|---|---|---|
GET | /api/v1/navcore/status | Status |
GET | /api/v1/navcore/algorithms | Algorithms |
POST | /api/v1/navcore/navigate | Compute position |
POST | /api/v1/navcore/spoof-detect | Detect spoofing |
POST | /api/v1/navcore/sensor/simulate | Simulate sensor |
QRNG
| Method | Path | Description |
|---|---|---|
POST | /api/v1/quantum-gps/qrng/bytes | Random bytes |
GET | /api/v1/quantum-gps/qrng/uuid | Quantum UUID |
GET | /api/v1/quantum-gps/qrng/nonce | Quantum nonce |
PQC
| Method | Path | Description |
|---|---|---|
POST | /api/v1/pqc/keypair | Generate keypair |
POST | /api/v1/pqc/sign | Sign data |
POST | /api/v1/pqc/verify | Verify signature |
RAIM
| Method | Path | Description |
|---|---|---|
GET | /api/v1/raim/status | Status |
GET | /api/v1/raim/threats | Threats |
POST | /api/v1/raim/process | Process |
POST | /api/v1/raim/exclude | Exclude satellite |
GET | /api/v1/raim/statistics | Statistics |
GET | /api/v1/raim/quantum-verification | Quantum verification |
GET | /api/v1/raim/hybrid-fusion | Hybrid fusion |
Time & Standards
| Method | Path | Description |
|---|---|---|
GET | /api/v1/navcore/time/utc | UTC time |
GET | /api/v1/navcore/time/network | Network time |
POST | /api/v1/navcore/time/sync | Sync time |
ACOS-ISA™
| Method | Path | Description |
|---|---|---|
GET | /api/v1/acos/health | Health |
GET | /api/v1/acos/tiers | Certification tiers |
GET | /api/v1/acos/tests | List tests |
POST | /api/v1/acos/certify | Run certification |
POST | /api/v1/acos/verify | Verify certificate |
GET | /api/v1/acos/certificates | List certificates |
GET | /api/v1/acos/certificates/{id} | Get certificate |
GET | /api/v1/acos/evidence/{id} | Evidence |
Quantum Macro™
| Method | Path | Description |
|---|---|---|
GET | /api/v1/macro/health | Health |
GET | /api/v1/macro/market-sizing | Market analysis |
POST | /api/v1/macro/energy-subsidy-optimize | Energy optimization |
POST | /api/v1/macro/risk-analysis | Risk analysis |
Evidence Portal™
| Method | Path | Description |
|---|---|---|
GET | /api/v2/jobs/{id}/artifacts | List artifacts |
GET | /api/v2/jobs/{id}/artifacts/{name} | Get artifact |
GET | /api/v2/jobs/{id}/capabilities | Capabilities |
GET | /api/v2/jobs/{id}/evidence/download | Download bundle |
POST | /api/v2/evidence/verify | Verify hash |
GET | /api/v2/public-key | Public key (PEM) |
Admin
| Method | Path | Description |
|---|---|---|
GET | /api/admin/health/ready | Readiness |
GET | /api/admin/health/live | Liveness |
GET | /api/admin/tenants | List tenants |
GET | /api/admin/tenants/{id}/usage | Tenant usage |
GET | /api/admin/metrics | Metrics |
GET | /api/admin/rate-limits | Rate limits |
GET | /api/admin/circuit-breakers | Circuit breakers |
POST | /api/admin/circuit-breakers/{name}/reset | Reset breaker |
GET | /api/admin/backends/status | Backends status |
GET | /api/admin/backends/{id}/capabilities | Capabilities |
Interactive Documentation
- Swagger UI: api.softquantus.com/docs
- ReDoc: api.softquantus.com/redoc
- OpenAPI JSON: api.softquantus.com/openapi.json
© 2024-2026 SoftQuantus Innovative OÜ. All Rights Reserved.