You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mid-circuit measurement and conditional branching are important features in Quantum computing.
Unfortunately, the Aer simulator is presently yielding wrong results when used for noisy simulation of dynamic circuits.
> fidelity: 1.0 (no noise effect)
> fidelity: 0.9509 (noisy)
no dynamic circuit
with dynamic circuit
What is the expected behavior?
The fidelity should be less than 1.0 since depolarizing error is added to the qubit(qregs[0]). However, it goes to 1.0 if I add one more qubit (qregs[1]) and insert some dynamic branches in the circuit, which I think should not effect qregs[0] in any way.
Suggested solutions
It appears that the inclusion of the conditional gate has interfered with the simulation noise model.
Please have a check~
The text was updated successfully, but these errors were encountered:
xlelephant
changed the title
Noisy simulation of dynamic circuits yields wrong measurement results.
The noisy simulation of dynamic circuits gives to incorrect measurement outcomes
Mar 29, 2024
This is bug in aer_compiler that the labeled gate is transplied into other gates when the circuit is dynamic circuit.
Thanks for the answer,
I am wondering if a circuit composed solely of native gates, such as ['u', 'cz', 'ecr', ...], can circumvent this issue. Can I instruct the aer_compiler not to perform transpilation?
Informations
What is the current behavior?
Mid-circuit measurement and conditional branching are important features in Quantum computing.
Unfortunately, the Aer simulator is presently yielding wrong results when used for noisy simulation of dynamic circuits.
Steps to reproduce the problem
no dynamic circuit
with dynamic circuit
What is the expected behavior?
The fidelity should be less than 1.0 since depolarizing error is added to the qubit(qregs[0]). However, it goes to 1.0 if I add one more qubit (qregs[1]) and insert some dynamic branches in the circuit, which I think should not effect qregs[0] in any way.
Suggested solutions
It appears that the inclusion of the conditional gate has interfered with the simulation noise model.
Please have a check~
The text was updated successfully, but these errors were encountered: