The circuit provided below wasn't providing accurate results for optimization level 2 and 3 on state vector simulator( https://github.com/Qiskit/qiskit/issues/13116). To verify the correctness of the transpiled circuit, i tried running the circuit on AerSimulator and it resulted in Segmentation fault. The issue is reproducible on the Qiskit version 1.2.0 as well.
Informations
What is the current behavior?
The circuit provided below wasn't providing accurate results for optimization level 2 and 3 on state vector simulator( https://github.com/Qiskit/qiskit/issues/13116). To verify the correctness of the transpiled circuit, i tried running the circuit on AerSimulator and it resulted in Segmentation fault. The issue is reproducible on the Qiskit version 1.2.0 as well.
Steps to reproduce the problem
What is the expected behavior?