qcoder 0.5.0a3__tar.gz → 0.5.0a5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/CHANGELOG.md +19 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/PKG-INFO +20 -25
- qcoder-0.5.0a5/README.md +94 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/pyproject.toml +1 -1
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/__init__.py +1 -1
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/cli.py +510 -38
- qcoder-0.5.0a5/src/qcoder/explorer/__init__.py +2 -0
- qcoder-0.5.0a5/src/qcoder/explorer/derived_evidence.py +319 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/pro_preview/client.py +87 -5
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder.egg-info/PKG-INFO +20 -25
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder.egg-info/SOURCES.txt +2 -0
- qcoder-0.5.0a3/README.md +0 -99
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/LICENSE +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/MANIFEST.in +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/NOTICE +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/setup.cfg +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/__main__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/core/__init__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/core/context.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/core/qasm2/__init__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/core/qasm2/adjoint_eligibility.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/core/qasm2/mirror_build.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/core/run_config.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/core/schema.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/context/__init__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/context/bundle.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/context/markdown.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/adapters/__init__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/adapters/cirq_intake.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/adapters/pennylane_intake.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/adapters/qiskit_intake.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/extractor.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/features/compute_v0.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/features/glossary_v0.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/features/schema_v0.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/ir.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/labeling.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/parsers/__init__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/qasm2_regex_parser.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/cut_profile.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/depth.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/entangling_layers.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/gate_set_stats.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/interaction_graph.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/interaction_graph_metrics.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/spans.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/guidance/__init__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/guidance/model_pack.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/guidance/resource.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/guidance/structural_scores.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/profiles/__init__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/profiles/feature_profiles_v0.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/review/__init__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/review/bundle.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/review/counts_v0.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/review/markdown.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/engines/review/qiskit_counts.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/model_packs/__init__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/model_packs/resource_guidance_local_v0.json +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/pipelines/analyze.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/pipelines/batch.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/pipelines/context.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/pipelines/review.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/pro_preview/__init__.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/pro_preview/config.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/pro_preview/errors.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/pro_preview/manifest.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder/tools/batch.py +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder.egg-info/dependency_links.txt +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder.egg-info/entry_points.txt +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder.egg-info/requires.txt +0 -0
- {qcoder-0.5.0a3 → qcoder-0.5.0a5}/src/qcoder.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## 0.5.0a5
|
|
5
|
+
|
|
6
|
+
- Add `qcoder explorer evidence` as the primary Explorer Beta guided-evidence surface.
|
|
7
|
+
- Add derived-context Explorer evidence for user-owned OpenQASM 2 artifacts without raw hosted QASM upload.
|
|
8
|
+
- Preserve `qcoder student evidence` as a beta compatibility alias.
|
|
9
|
+
- Align public package wording with qCoder OSS and Explorer Beta; Pro is not launched or a current public product.
|
|
10
|
+
- Preserve the OSS local artifact path (`analyze`, `batch`, `context`, `review`) for no-account, no-token local workflows.
|
|
11
|
+
|
|
12
|
+
## 0.5.0a4
|
|
13
|
+
|
|
14
|
+
- Add public Student aliases: `qcoder student status` and `qcoder student demo`.
|
|
15
|
+
- Add `qcoder student evidence` for the existing deterministic hosted guided-evidence endpoint.
|
|
16
|
+
- Polish Student CLI output so `status` is access-framed, `demo` is the built-in teaching demo, and `evidence` renders learner-friendly summaries by default.
|
|
17
|
+
- Hide hosted meta fields in default Student output; add `--json` on Student subcommands for intentional raw payload output.
|
|
18
|
+
- Add `QCODER_STUDENT_BASE_URL` / `QCODER_STUDENT_TOKEN` aliases while preserving Preview/Pro env compatibility.
|
|
19
|
+
- Student aliases reuse the hosted Preview client configuration: `QCODER_PREVIEW_BASE_URL` / `QCODER_PREVIEW_TOKEN`, with `QCODER_PRO_API_URL` / `QCODER_PRO_TOKEN` compatibility fallbacks.
|
|
20
|
+
- No service deployment change is included in this public package slice.
|
|
21
|
+
- Existing `qcoder pro preview status` and `qcoder pro preview demo` commands remain compatible.
|
|
22
|
+
|
|
4
23
|
## 0.5.0a3
|
|
5
24
|
|
|
6
25
|
- Add public hosted Preview client commands: `qcoder pro preview status` and `qcoder pro preview demo`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: qcoder
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.0a5
|
|
4
4
|
Summary: Quantum circuit analysis and structured feature extraction tools.
|
|
5
5
|
Author-email: Quantum Ready Solutions <support@qcoder.ai>
|
|
6
6
|
Maintainer-email: Quantum Ready Solutions <support@qcoder.ai>
|
|
@@ -32,7 +32,7 @@ Dynamic: license-file
|
|
|
32
32
|
|
|
33
33
|
`qcoder` is a local, deterministic quantum circuit evidence CLI.
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
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.
|
|
36
36
|
|
|
37
37
|
## Public CLI surface
|
|
38
38
|
|
|
@@ -40,19 +40,20 @@ Free `qcoder` commands run offline and do not call hosted services, upload telem
|
|
|
40
40
|
- `qcoder batch`
|
|
41
41
|
- `qcoder context`
|
|
42
42
|
- `qcoder review`
|
|
43
|
-
- `qcoder
|
|
43
|
+
- `qcoder explorer` (Explorer Beta account-backed status/demo/evidence checks)
|
|
44
|
+
- `qcoder student` (temporary compatibility alias for Explorer Beta)
|
|
45
|
+
- `qcoder pro` (archived pilot/bootstrap client contract; non-confidential local plumbing only, not a current public product path)
|
|
44
46
|
|
|
45
|
-
##
|
|
47
|
+
## Current product boundaries
|
|
46
48
|
|
|
47
|
-
Public `qcoder` ships **
|
|
49
|
+
Public `qcoder` ships **OSS local commands** plus Explorer Beta compatibility commands. Pro is not launched and is not a current public product path.
|
|
48
50
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
- **`qcoder pro workflow
|
|
54
|
-
-
|
|
55
|
-
- There is **no generally available production hosted Pro service**, 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.
|
|
51
|
+
- **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.
|
|
52
|
+
- **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.
|
|
53
|
+
- 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.
|
|
54
|
+
- Explorer Beta custom evidence is stateless in this v0 slice; it does not create persistent Explorer history.
|
|
55
|
+
- **`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.
|
|
56
|
+
- 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.
|
|
56
57
|
- **No confidential Pro analysis or cards** are bundled in this package. Token-gating is **access control only**, not a secrecy boundary.
|
|
57
58
|
|
|
58
59
|
## Quick start
|
|
@@ -76,24 +77,18 @@ qcoder context path/to/circuit.qasm --out-json preflight.context.json --out-md p
|
|
|
76
77
|
qcoder review --counts-json counts.json --format qiskit_counts --preflight-json preflight.context.json --out-json execution.review.json --out-md execution.review.md
|
|
77
78
|
```
|
|
78
79
|
|
|
79
|
-
|
|
80
|
+
Explorer Beta compatibility checks and archived Pro bootstrap:
|
|
80
81
|
|
|
81
82
|
```bash
|
|
83
|
+
qcoder explorer status
|
|
84
|
+
qcoder explorer demo
|
|
85
|
+
qcoder explorer evidence
|
|
86
|
+
qcoder explorer evidence --qasm path/to/circuit.qasm
|
|
87
|
+
qcoder explorer evidence --context-json preflight.context.json
|
|
82
88
|
qcoder pro --help
|
|
83
|
-
qcoder pro signup
|
|
84
|
-
qcoder pro install --token <token-if-provided>
|
|
85
|
-
qcoder pro status
|
|
86
|
-
qcoder pro validate
|
|
87
|
-
qcoder pro workflow --qasm path/to/circuit.qasm --dry-run-manifest pro.workflow.manifest.json
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
Use **`--dry-run-manifest`** unless QRS has given you a non-default service URL and token for contract rehearsal. Manifest-only submit (no artifact upload) is opt-in:
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
qcoder pro workflow --qasm path/to/circuit.qasm --submit --service-url <url-qrs-provided>
|
|
94
89
|
```
|
|
95
90
|
|
|
96
|
-
**Support-safe checklist
|
|
91
|
+
**Support-safe checklist**
|
|
97
92
|
|
|
98
93
|
Safe to share with QRS support:
|
|
99
94
|
|
qcoder-0.5.0a5/README.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# qCoder
|
|
2
|
+
|
|
3
|
+
`qcoder` is a local, deterministic quantum circuit evidence CLI.
|
|
4
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
## Public CLI surface
|
|
8
|
+
|
|
9
|
+
- `qcoder analyze`
|
|
10
|
+
- `qcoder batch`
|
|
11
|
+
- `qcoder context`
|
|
12
|
+
- `qcoder review`
|
|
13
|
+
- `qcoder explorer` (Explorer Beta account-backed status/demo/evidence checks)
|
|
14
|
+
- `qcoder student` (temporary compatibility alias for Explorer Beta)
|
|
15
|
+
- `qcoder pro` (archived pilot/bootstrap client contract; non-confidential local plumbing only, not a current public product path)
|
|
16
|
+
|
|
17
|
+
## Current product boundaries
|
|
18
|
+
|
|
19
|
+
Public `qcoder` ships **OSS local commands** plus Explorer Beta compatibility commands. Pro is not launched and is not a current public product path.
|
|
20
|
+
|
|
21
|
+
- **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.
|
|
22
|
+
- **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.
|
|
23
|
+
- 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.
|
|
24
|
+
- Explorer Beta custom evidence is stateless in this v0 slice; it does not create persistent Explorer history.
|
|
25
|
+
- **`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.
|
|
26
|
+
- 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.
|
|
27
|
+
- **No confidential Pro analysis or cards** are bundled in this package. Token-gating is **access control only**, not a secrecy boundary.
|
|
28
|
+
|
|
29
|
+
## Quick start
|
|
30
|
+
|
|
31
|
+
Install:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install qcoder
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Analyze a circuit:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
qcoder analyze path/to/circuit.qasm --json
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Create local context and review artifacts:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
qcoder context path/to/circuit.qasm --out-json preflight.context.json --out-md preflight.context.md
|
|
47
|
+
qcoder review --counts-json counts.json --format qiskit_counts --preflight-json preflight.context.json --out-json execution.review.json --out-md execution.review.md
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Explorer Beta compatibility checks and archived Pro bootstrap:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
qcoder explorer status
|
|
54
|
+
qcoder explorer demo
|
|
55
|
+
qcoder explorer evidence
|
|
56
|
+
qcoder explorer evidence --qasm path/to/circuit.qasm
|
|
57
|
+
qcoder explorer evidence --context-json preflight.context.json
|
|
58
|
+
qcoder pro --help
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**Support-safe checklist**
|
|
62
|
+
|
|
63
|
+
Safe to share with QRS support:
|
|
64
|
+
|
|
65
|
+
- `qcoder --version`
|
|
66
|
+
- command name
|
|
67
|
+
- HTTP status or CLI error code
|
|
68
|
+
- `job_id`, if produced
|
|
69
|
+
- redacted output
|
|
70
|
+
- manifest schema/version
|
|
71
|
+
|
|
72
|
+
Do not share:
|
|
73
|
+
|
|
74
|
+
- bearer tokens
|
|
75
|
+
- secrets
|
|
76
|
+
- source code
|
|
77
|
+
- repository archives
|
|
78
|
+
- notebooks
|
|
79
|
+
- private prompts or chat transcripts
|
|
80
|
+
- raw QASM/source artifacts through unsupported paths
|
|
81
|
+
|
|
82
|
+
Architecture notes: [`docs/architecture.md`](docs/architecture.md).
|
|
83
|
+
|
|
84
|
+
## Optional extras
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
pip install "qcoder[qiskit]"
|
|
88
|
+
pip install "qcoder[cirq]"
|
|
89
|
+
pip install "qcoder[pennylane]"
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## License
|
|
93
|
+
|
|
94
|
+
Apache-2.0 (see `LICENSE` and `NOTICE`).
|