Open weucode opened 4 months ago
According to the documentation approximation_degree=0.0
means "maximal approximation". So, the outputs could be different to some extent.
https://github.com/Qiskit/qiskit/blob/713ab38cccb7e55a40a87372a2590a5a4430fa8f/qiskit/compiler/transpiler.py#L191-L192
Environment
What is happening?
I apply a rxx gate in the circuit and transpile it with different values of approximation_degree. In both fake simulators and real quantum computers, the discrepancies of measurement are noticeable when
approximation_degree
ranges from 0.0 to 0.6 and from 0.7 to 1.0.A finding that may be helpful: After debugging, I located the relevant function _synth_su4_no_dag. Different return values of this function led to the observed discrepancies in measurement results.
How can we reproduce the issue?
Program:
Outputs:
What should happen?
The same measurement results should be output.
Any suggestions?
No response