Quantum circuit analysis and structured feature extraction tools.
Project description
qCoder
qCoder helps developers inspect quantum circuits before they run them. It reads OpenQASM circuits, extracts repeatable structural features, and emits structured JSON (single file) or JSONL (batches)—useful for notebooks, CI, pull-request review, and AI coding assistants when you attach or paste deterministic context next to circuit text.
CLI: qcoder analyze and qcoder batch. Optional Qiskit intake: pip install "qcoder[qiskit]".
Company / legal: Quantum Ready Solutions. Product docs: qcoder.ai · manual. Source: github.com/QuantumReadySolutions/qCoder. Support: support@qcoder.ai.
What qCoder analyzes
qCoder summarizes circuit structure from declarations in your source files. Pair its JSON output with simulator or hardware run data whenever you need execution evidence.
Package layout (supported public surface)
For this release, treat the supported surface as:
qcoder analyze— single-circuit extraction (human or--json).qcoder batch— directory batch to JSONL.qcoder[qiskit]— optionalQuantumCircuitintake into the same extractor as OpenQASM.- Documented feature output — see qcoder.ai — Feature reference and
engines/feature_extraction/features/schema_v0.py; JSON carries aschema_versionalongside named fields.
Other modules under src/qcoder may exist for prototyping (extra tooling or engines outside the commands above). Unless documented here, docs/, or qcoder.ai, they do not share the same stability expectations as analyze / batch and documented output.
Brief notes live in docs/architecture.md.
Install
pip install qcoder
Pre-release lines on PyPI use segments such as 0.1.0a1.
Optional Qiskit adapter:
pip install "qcoder[qiskit]"
Requires Python 3.11+. Runtime dependency: NumPy.
CLI quickstart
qcoder analyze path/to/circuit.qasm
qcoder analyze path/to/circuit.qasm --json
qcoder batch path/to/qasm_dir/ --out features.jsonl
Develop / test (from a clone)
python -m venv .venv
source .venv/bin/activate
pip install -e ".[qiskit]"
pip install pytest
pytest -q
License
Licensed under the Apache License 2.0. See LICENSE and NOTICE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qcoder-0.1.0a1.tar.gz.
File metadata
- Download URL: qcoder-0.1.0a1.tar.gz
- Upload date:
- Size: 100.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65a495ab48f1575ff9d6a9dfa605f944d49c71f3cc8d904752fb70a504b77f83
|
|
| MD5 |
aad9ffbba8e6ed8d924da5357e252879
|
|
| BLAKE2b-256 |
058a3fbe6eea86799c9a65ef264420a6253872a8e182d862bb860fb1727cbfc5
|
File details
Details for the file qcoder-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: qcoder-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 98.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fed7b920f199b867a0aa303849561adde38c798024afe7416782d579befa7c6
|
|
| MD5 |
d7d72fd45a40a1d0cf13e3ad602ed40a
|
|
| BLAKE2b-256 |
f14489d27a9536ecd8dcdfabc60c85e4a5276b10c0286c7a8b7b2f51ff52a7df
|