Commit 36b4f09
committed
Sync OpenAPI: add clone and artifact endpoints, replace CostModel
Regenerate the client against the upstream v0.4 spec (issue #52).
- Add clone_job (POST /jobs/{UUID}/clone) and CloneJobPayload.
- Replace get_compiled_file (GET /jobs/{UUID}/circuits/{lang}) with
get_job_artifact (GET /jobs/{UUID}/artifacts/{artifactId}); the response
body is opaque, so only the *_detailed callables are generated.
- Replace CostModel with ApiCostModel ("QCT" / "2QGE_operations").
- Add Backend.supported_gates/supported_native_gates/supported_error_mitigations.
- Add estimate_job_cost fields: estimated_quantum_compute_time_us, plus
rate_information.qct_cost_cents and rate_type; cost fields now nullable.
- Update tests, AGENTS.md, and CHANGELOG accordingly.1 parent c697a8d commit 36b4f09
29 files changed
Lines changed: 1378 additions & 127 deletions
File tree
- ionq_core
- api/default
- models
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
18 | 27 | | |
19 | 28 | | |
20 | 29 | | |
| |||
Lines changed: 39 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments