Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

qCoder

qcoder is a local, deterministic quantum circuit evidence CLI.

The current public local path is qCoder OSS. OSS commands run locally and do not call hosted services, upload telemetry, or run QPU/simulator jobs.

Public CLI surface

  • qcoder analyze
  • qcoder batch
  • qcoder context
  • qcoder review
  • qcoder mcp (local read-only Cursor MCP tools)
  • qcoder explorer (Explorer Beta account-backed status/demo/evidence checks)
  • qcoder student (temporary compatibility alias for Explorer Beta)
  • qcoder pro (archived pilot/bootstrap client contract; non-confidential local plumbing only, not a current public product path)

Current product boundaries

Public qcoder ships OSS local commands plus Explorer Beta compatibility commands. Pro is not launched and is not a current public product path.

  • OSS commands (analyze, batch, context, review) are Apache-2.0, local-first/offline, and useful without an account or token. They do not upload data, call a qCoder hosted service, or run QPU/simulator jobs.
  • Explorer Beta commands (qcoder explorer status, qcoder explorer demo, qcoder explorer evidence) are account-backed checks for Explorer Beta status, built-in guided evidence samples, and derived-context guided evidence for user-owned OpenQASM 2 artifacts. The older qcoder student ... commands remain available as beta compatibility aliases.
  • Explorer Beta custom evidence uses locally derived qCoder context/features. The CLI may read QASM locally, but the hosted request must not include raw QASM, raw source text, local paths, operation lists, raw counts, notebooks, prompts, tokens, auth headers, or cookies.
  • Explorer Beta custom evidence is stateless in this v0 slice; it does not create persistent Explorer history.
  • qcoder pro bootstrap/workflow commands are archived pilot/client-contract surfaces. They are not a Pro purchase path, not a current public signup path, and not generally available hosted Pro.
  • There is no generally available production hosted Pro service, Pro account/token issuance, artifact/source upload, telemetry/training ingest, confidential local analyzer/cards, QPU/provider execution, or launched Pro V0.0 behavior in this public-main surface.
  • No confidential Pro analysis or cards are bundled in this package. Token-gating is access control only, not a secrecy boundary.

Quick start

Install:

pip install qcoder

Analyze a circuit:

qcoder analyze path/to/circuit.qasm --json

Create local context and review artifacts:

qcoder context path/to/circuit.qasm --out-json preflight.context.json --out-md preflight.context.md
qcoder review --counts-json counts.json --format qiskit_counts --preflight-json preflight.context.json --out-json execution.review.json --out-md execution.review.md

For artifacts you intend to paste into ChatGPT, Cursor, email, GitHub issues, or support threads, add --share-safe:

qcoder analyze path/to/circuit.qasm --json --share-safe
qcoder context path/to/circuit.qasm --out-json preflight.context.json --out-md preflight.context.md --share-safe
qcoder review --counts-json counts.json --format qiskit_counts --preflight-json preflight.context.json --out-json execution.review.json --out-md execution.review.md --share-safe

Share-safe mode is designed for safer sharing: it redacts local paths and token/header-like strings, adds share_safe=true, and marks raw QASM/local paths/tokens as not included. Review artifacts before sharing; this is not a guarantee that all sensitive project content has been removed.

Local Cursor MCP:

qcoder mcp serve

The MCP server uses explicit user-selected local inputs only. It reads, inspects, explains, bounds, and recommends; it does not execute circuits, modify user code, read arbitrary files, call live services, or require tokens. See Explorer Evidence-Grounded Coding Loop for the manual artifact loop, Cursor MCP setup, and claim boundaries.

Explorer Beta compatibility checks and archived Pro bootstrap:

qcoder explorer status
qcoder explorer demo
qcoder explorer evidence
qcoder explorer evidence --qasm path/to/circuit.qasm
qcoder explorer evidence --context-json preflight.context.json
qcoder explorer evidence --qasm path/to/circuit.qasm --out-json explorer.json --out-md explorer.md --share-safe
qcoder pro --help

Support-safe checklist

Safe to share with QRS support:

  • qcoder --version
  • command name
  • HTTP status or CLI error code
  • job_id, if produced
  • redacted output
  • manifest schema/version

Do not share:

  • bearer tokens
  • secrets
  • source code
  • repository archives
  • notebooks
  • private prompts or chat transcripts
  • raw QASM/source artifacts through unsupported paths

Architecture notes: docs/architecture.md.

Optional extras

pip install "qcoder[qiskit]"
pip install "qcoder[cirq]"
pip install "qcoder[pennylane]"

License

Apache-2.0 (see LICENSE and NOTICE).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qcoder-0.5.0a7.tar.gz (75.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qcoder-0.5.0a7-py3-none-any.whl (91.0 kB view details)

Uploaded Python 3

File details

Details for the file qcoder-0.5.0a7.tar.gz.

File metadata

  • Download URL: qcoder-0.5.0a7.tar.gz
  • Upload date:
  • Size: 75.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for qcoder-0.5.0a7.tar.gz
Algorithm Hash digest
SHA256 1630dc892e534efbea368ef0cfc28b14e075e31af2e7a4ed54e7a472dd91503f
MD5 747f796c8288a026e69ff9747e70a6c2
BLAKE2b-256 53f09c4d21c7aaa5d5b3c41e64a99045a5a8e2b9992c2c3e11e9ab0df707f59f

See more details on using hashes here.

File details

Details for the file qcoder-0.5.0a7-py3-none-any.whl.

File metadata

  • Download URL: qcoder-0.5.0a7-py3-none-any.whl
  • Upload date:
  • Size: 91.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for qcoder-0.5.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 c304dbcb32682d5f21a3e4240269d864e44e1a91c184692932c3498a740504a4
MD5 917be11772ad20380c97a1cde205530b
BLAKE2b-256 a44f06601854780f4f44576fcefc703d3bcb22b1e5339273dfde764278c4b3a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page