Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump qiskit-ibm-runtime version and use mode=batch #623

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Release](https://img.shields.io/pypi/v/circuit-knitting-toolbox.svg?label=Release)](https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/releases)
![Platform](https://img.shields.io/badge/%F0%9F%92%BB%20Platform-Linux%20%7C%20macOS%20%7C%20Windows-informational)
[![Python](https://img.shields.io/pypi/pyversions/circuit-knitting-toolbox?label=Python&logo=python)](https://www.python.org/)
[![Qiskit](https://img.shields.io/badge/Qiskit%20-%20%3E%3D1.0%20-%20%236133BD?logo=Qiskit)](https://github.com/Qiskit/qiskit)
[![Qiskit](https://img.shields.io/badge/Qiskit%20-%20%3E%3D1.1%20-%20%236133BD?logo=Qiskit)](https://github.com/Qiskit/qiskit)
<br />
[![Docs (stable)](https://img.shields.io/badge/%F0%9F%93%84%20Docs-stable-blue.svg)](https://qiskit-extensions.github.io/circuit-knitting-toolbox/)
[![DOI](https://zenodo.org/badge/543181258.svg)](https://zenodo.org/badge/latestdoi/543181258)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
"# Submit each partition's subexperiments to the Qiskit Runtime Sampler\n",
"# primitive, in a single batch so that the jobs will run back-to-back.\n",
"with Batch(backend=backend) as batch:\n",
" sampler = SamplerV2(session=batch)\n",
" sampler = SamplerV2(mode=batch)\n",
" jobs = {\n",
" label: sampler.run(subsystem_subexpts, shots=2**12)\n",
" for label, subsystem_subexpts in isa_subexperiments.items()\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@
"# Submit each partition's subexperiments to the Qiskit Runtime Sampler\n",
"# primitive, in a single batch so that the jobs will run back-to-back.\n",
"with Batch(backend=backend) as batch:\n",
" sampler = SamplerV2(session=batch)\n",
" sampler = SamplerV2(mode=batch)\n",
" jobs = {\n",
" label: sampler.run(subsystem_subexpts, shots=2**12)\n",
" for label, subsystem_subexpts in isa_subexperiments.items()\n",
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ dependencies = [
"scipy>=1.5.2",
"rustworkx>=0.14.0",
"qiskit-aer>=0.14.0.1",
"qiskit>=1.0.0, <2.0",
"qiskit-ibm-runtime>=0.23.0",
"qiskit>=1.1.0, <2.0",
"qiskit-ibm-runtime>=0.24.0",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
upgrade:
- |
CKT now requires updated versions of some dependencies: ``qiskit``
1.1 or later, and ``qiskit-ibm-runtime`` 0.24.0 or later.