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

Batch mode docs are using V1 primitives #1128

Closed
Eric-Arellano opened this issue Apr 4, 2024 · 0 comments · Fixed by #1129
Closed

Batch mode docs are using V1 primitives #1128

Eric-Arellano opened this issue Apr 4, 2024 · 0 comments · Fixed by #1129
Assignees

Comments

@Eric-Arellano
Copy link
Collaborator

Eric-Arellano commented Apr 4, 2024

They're not using PUBs as input

```python
jobs = []
with Batch(backend) as batch:
estimator = Estimator(batch)
# calls within this context are part of the batch.
for obs_set in observable_sets:
jobs.append(estimator.run(circuits, observables=obs_set))

I think the idea of reusing the same circuits but with different observables is no longer relevant thanks to PUBs? Instead, should the example be using both Sampler and Estimator?

github-merge-queue bot pushed a commit that referenced this issue Apr 5, 2024
closes #1128

---------

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
frankharkins pushed a commit to frankharkins/documentation that referenced this issue Jul 22, 2024
closes Qiskit#1128

---------

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants