8000 [Stable] For each Acquire, create only one AcquireInstruction with all qubits by lcapelluto · Pull Request #2485 · Qiskit/qiskit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Stable] For each Acquire, create only one AcquireInstruction with all qubits #2485

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

Merged

Conversation

lcapelluto
Copy link
Contributor

Summary

Fixes #2471

Details and comments

Join all converted acquire instructions (in qiskit/qobj/converters/pulse_instruction.py) into a single acquire instruction.

Backport of #2484.

…iskit#2484)

* For each acquire PulseQobjInstruction, create only one AcquireInstruction for all involved qubits, rather than one per each qubit.

Add test

* update tests

* Small fixes -- make warning more descriptive
Copy link
Contributor
@taalexander taalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. I have verified that it functions for acquires returned by backend.

@taalexander taalexander merged commit 328b060 into Qiskit:stable May 23, 2019
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
0