qcoder 0.5.0a4__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.
Files changed (72) hide show
  1. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/CHANGELOG.md +8 -0
  2. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/PKG-INFO +20 -29
  3. qcoder-0.5.0a5/README.md +94 -0
  4. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/pyproject.toml +1 -1
  5. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/__init__.py +1 -1
  6. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/cli.py +223 -66
  7. qcoder-0.5.0a5/src/qcoder/explorer/__init__.py +2 -0
  8. qcoder-0.5.0a5/src/qcoder/explorer/derived_evidence.py +319 -0
  9. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/pro_preview/client.py +33 -2
  10. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder.egg-info/PKG-INFO +20 -29
  11. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder.egg-info/SOURCES.txt +2 -0
  12. qcoder-0.5.0a4/README.md +0 -103
  13. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/LICENSE +0 -0
  14. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/MANIFEST.in +0 -0
  15. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/NOTICE +0 -0
  16. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/setup.cfg +0 -0
  17. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/__main__.py +0 -0
  18. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/core/__init__.py +0 -0
  19. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/core/context.py +0 -0
  20. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/core/qasm2/__init__.py +0 -0
  21. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/core/qasm2/adjoint_eligibility.py +0 -0
  22. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/core/qasm2/mirror_build.py +0 -0
  23. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/core/run_config.py +0 -0
  24. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/core/schema.py +0 -0
  25. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/context/__init__.py +0 -0
  26. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/context/bundle.py +0 -0
  27. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/context/markdown.py +0 -0
  28. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/adapters/__init__.py +0 -0
  29. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/adapters/cirq_intake.py +0 -0
  30. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/adapters/pennylane_intake.py +0 -0
  31. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/adapters/qiskit_intake.py +0 -0
  32. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/extractor.py +0 -0
  33. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/features/compute_v0.py +0 -0
  34. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/features/glossary_v0.py +0 -0
  35. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/features/schema_v0.py +0 -0
  36. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/ir.py +0 -0
  37. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/labeling.py +0 -0
  38. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/parsers/__init__.py +0 -0
  39. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/qasm2_regex_parser.py +0 -0
  40. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/cut_profile.py +0 -0
  41. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/depth.py +0 -0
  42. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/entangling_layers.py +0 -0
  43. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/gate_set_stats.py +0 -0
  44. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/interaction_graph.py +0 -0
  45. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/interaction_graph_metrics.py +0 -0
  46. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/feature_extraction/reps/spans.py +0 -0
  47. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/guidance/__init__.py +0 -0
  48. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/guidance/model_pack.py +0 -0
  49. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/guidance/resource.py +0 -0
  50. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/guidance/structural_scores.py +0 -0
  51. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/profiles/__init__.py +0 -0
  52. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/profiles/feature_profiles_v0.py +0 -0
  53. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/review/__init__.py +0 -0
  54. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/review/bundle.py +0 -0
  55. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/review/counts_v0.py +0 -0
  56. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/review/markdown.py +0 -0
  57. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/engines/review/qiskit_counts.py +0 -0
  58. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/model_packs/__init__.py +0 -0
  59. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/model_packs/resource_guidance_local_v0.json +0 -0
  60. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/pipelines/analyze.py +0 -0
  61. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/pipelines/batch.py +0 -0
  62. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/pipelines/context.py +0 -0
  63. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/pipelines/review.py +0 -0
  64. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/pro_preview/__init__.py +0 -0
  65. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/pro_preview/config.py +0 -0
  66. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/pro_preview/errors.py +0 -0
  67. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/pro_preview/manifest.py +0 -0
  68. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder/tools/batch.py +0 -0
  69. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder.egg-info/dependency_links.txt +0 -0
  70. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder.egg-info/entry_points.txt +0 -0
  71. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder.egg-info/requires.txt +0 -0
  72. {qcoder-0.5.0a4 → qcoder-0.5.0a5}/src/qcoder.egg-info/top_level.txt +0 -0
@@ -1,6 +1,14 @@
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
+
4
12
  ## 0.5.0a4
5
13
 
6
14
  - Add public Student aliases: `qcoder student status` and `qcoder student demo`.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qcoder
3
- Version: 0.5.0a4
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
- Free `qcoder` commands run offline and do not call hosted services, upload telemetry, or run QPU/simulator jobs.
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,20 +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 pro` (Pro bootstrap and client contract; non-confidential local plumbing only)
44
- - `qcoder student` (Student status/demo/evidence aliases for hosted Preview connectivity checks)
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)
45
46
 
46
- ## Pro Preview boundaries
47
+ ## Current product boundaries
47
48
 
48
- Public `qcoder` ships **Free local commands** plus a **Pro bootstrap/client contract**. It is **not** the sellable hosted Pro product.
49
+ Public `qcoder` ships **OSS local commands** plus Explorer Beta compatibility commands. Pro is not launched and is not a current public product path.
49
50
 
50
- For a public, pilot-safe walkthrough, see the [Pro Preview pilot walkthrough](https://qcoder.ai/manual/pro-preview-pilot-walkthrough/). The current public PyPI alpha client surface for Pro Preview is **`qcoder==0.5.0a4`**. It is not Pro V0.0 and not a sellable launched Pro product.
51
-
52
- - **Free commands** (`analyze`, `batch`, `context`, `review`) are Apache-2.0, local-first/offline, and useful without Pro. They do not upload data, call a qCoder hosted service, or run QPU/simulator jobs.
53
- - **`qcoder pro` bootstrap** (`signup`, `login`, `install`, `status`, `validate`) stores local token/config only. It does not upload circuits, run confidential analysis, or generate Pro cards locally.
54
- - **`qcoder pro workflow --dry-run-manifest`** writes a local JSON contract (`qcoder.pro_preview.workflow_manifest.v0`) and performs **no network calls**. This is the default path for most users.
55
- - **`qcoder pro workflow --submit`** posts a **sanitized manifest only** to an **explicitly configured** `--service-url` (or `QCODER_PRO_API_URL`). Use it only when QRS has given you a service URL and token. The default `https://qcoder.ai/preview` URL is **not** accepted for submit.
56
- - 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.
57
57
  - **No confidential Pro analysis or cards** are bundled in this package. Token-gating is **access control only**, not a secrecy boundary.
58
58
 
59
59
  ## Quick start
@@ -77,27 +77,18 @@ qcoder context path/to/circuit.qasm --out-json preflight.context.json --out-md p
77
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
78
78
  ```
79
79
 
80
- Pro Preview bootstrap (local contract rehearsal):
80
+ Explorer Beta compatibility checks and archived Pro bootstrap:
81
81
 
82
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
83
88
  qcoder pro --help
84
- qcoder pro signup
85
- qcoder pro install --token <token-if-provided>
86
- qcoder pro status
87
- qcoder pro validate
88
- qcoder pro workflow --qasm path/to/circuit.qasm --dry-run-manifest pro.workflow.manifest.json
89
- qcoder student status
90
- qcoder student demo
91
- qcoder student evidence
92
- ```
93
-
94
- 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:
95
-
96
- ```bash
97
- qcoder pro workflow --qasm path/to/circuit.qasm --submit --service-url <url-qrs-provided>
98
89
  ```
99
90
 
100
- **Support-safe checklist for Pro Preview pilots**
91
+ **Support-safe checklist**
101
92
 
102
93
  Safe to share with QRS support:
103
94
 
@@ -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`).
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "qcoder"
7
- version = "0.5.0a4"
7
+ version = "0.5.0a5"
8
8
  description = "Quantum circuit analysis and structured feature extraction tools."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -1,3 +1,3 @@
1
1
  __all__ = []
2
- __version__ = "0.5.0a4"
2
+ __version__ = "0.5.0a5"
3
3
  file = __file__