Closed astralcai closed 1 week ago
Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md
with:
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.66%. Comparing base (
14a0b63
) to head (71e7d33
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
don't forget to add an entry in deprecations.rst!
don't forget to add an entry in deprecations.rst!
ooops, will do.
Context: Previously, the QASM circuit converted to PL had no measurements (even if the circuit ended with measurements, the assumption was we remove those and add PL measurements once the circuit is converted).
In the UnitaryHack, a contributor added the option to specify measurements when converting a circuit
from_qasm
, like thefrom_qiskit
function. In doing so, thefrom_qasm
circuit took on the currentfrom_qiskit
convention. Callingfrom_qasm(qasm_str)
previously returned only the operators, and now returns operators + measurements. This is a breaking change with no deprecation cycle.https://github.com/PennyLaneAI/pennylane-qiskit/pull/469
Description of the Change: Adds a deprecation warning to
from_qasm
[sc-66318]