qiskit-aer icon indicating copy to clipboard operation
qiskit-aer copied to clipboard

Update conditional tests once `c_if` support is dropped in Aer

Open ElePT opened this issue 7 months ago • 0 comments

What is the expected behavior?

Qiskit 2.0 removed c_if, but this is still supported in Aer during the transition period to 2.0. As a consequence, there is a series of unit tests that will get skipped if qiskit>=2.0. Once Aer drops support c_if, these tests should be refactored to test the conditional syntax that uses IfElseOp.

See https://github.com/Qiskit/qiskit-aer/pull/2327#discussion_r1993022971.

ElePT avatar Mar 13 '25 09:03 ElePT