Closed ashlhans closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
8ff6589
) to head (0aa4bb2
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issue #, if available:
Description of changes: Currently, the local simulators do not support measuring qubits that are not used (do not a gate) on the circuit.
Example:
Circuit().measure(0)
Circuit().h(0).cnot(0,1).measure([0, 1, 2])
To support this any qubits that are measured but not used, should return 0
Example:
Testing done:
tox
Merge Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.General
Tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.