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

Use batch mode correctly in the tutorials (backport #616) #619

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 3, 2024

Apparently, if you use sampler = SamplerV2(backend=backend), even within the Batch context manager, Qiskit Runtime will use job mode instead of batch mode, without any warning. This fixes our example usage so batch mode will work properly.


This is an automatic backport of pull request #616 done by Mergify.

* Use batch mode correctly in the tutorials

* Work around a qiskit-ibm-runtime bug

Qiskit/qiskit-ibm-runtime#1723
(cherry picked from commit 3162cfd)
@coveralls
Copy link

Pull Request Test Coverage Report for Build 9350939073

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.468%

Totals Coverage Status
Change from base Build 9290040832: 0.0%
Covered Lines: 3497
Relevant Lines: 3663

💛 - Coveralls

@garrison garrison merged commit d234f03 into stable/0.7 Jun 3, 2024
11 checks passed
@garrison garrison deleted the mergify/bp/stable/0.7/pr-616 branch June 3, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants