Skip to content

Commit

Permalink
Update qiskit-aqt-provider to 1.8.x (#113)
Browse files Browse the repository at this point in the history
* Update qiskit-aqt-provider to 1.8.x

* Add changelog entry
  • Loading branch information
jbrixon authored Aug 5, 2024
1 parent a2abf4c commit 4369e21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Unreleased

* Implement new aqt api
* Fix handling of ``simplify_initial`` kwarg in ``process_circuits()``.
* Updated Qiskit AQT Provider to v1.8.

0.33.0 (March 2024)
-------------------
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ types-requests = "*"
pydantic = "^2.0"
networkx = "^3.0"
sympy = ">=1.6"
qiskit-aqt-provider = "1.5.0"
qiskit-aqt-provider = "~1.8.1"

[tool.poetry.group.tests]
optional = true
Expand All @@ -44,6 +44,7 @@ pytest-timeout = ">=1.4.2,<3.0.0"
hypothesis = "*"
requests_mock = "*"
numpy = "*"
qiskit-aqt-provider = {version = "~1.8.1", extras = ["test"]}

[tool.poetry.group.mypy]
optional = true
Expand Down
6 changes: 3 additions & 3 deletions pytket/extensions/aqt/backends/aqt_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ def cancel_job(self, job_id: str) -> None:

def _aqt_job_from_pytket_aqt_job(
job: PytketAqtJob,
) -> api_models.JobSubmission:
"""Create AQT JobSubmission from a list of circuits
) -> api_models.SubmitJobRequest:
"""Create AQT SubmitJobRequest from a list of circuits
and corresponding numbers of shots"""
return api_models.JobSubmission(
return api_models.SubmitJobRequest(
job_type="quantum_circuit",
label="pytket",
payload=api_models.QuantumCircuits(
Expand Down

0 comments on commit 4369e21

Please sign in to comment.