Remove duplicate optimization loop in level 3 PassManager (#8785)
Remove duplicate optimization loop in level 3 PassManager (#8785)

For some time (I expect since #6403 but maybe before) we've been running
the optimization loop for optimization level 3 twice for no reason. This
is clearly a mistake as it adds a single extra run of all the optimization
passes since we've already reached a steady state in depth and size by this
point. This is just a waste of time and was unintentional. This commit
removes the unintended duplication.

Co-authored-by: mergify[bot] <b09a6ee808b67e98a221404e7aaa52e0398a4954@users.noreply.github.com>
QISKit/qiskit-sdk-py,QISKit/qiskit-sdk-py,QISKit/qiskit-sdk-py