Open glanzz opened 3 days ago
Thank you for opening this issue! Having looked at it very briefly (so far), your code sets the option 'translation_method': 'synthesis'
, yet no basis_gates
is provided. I am not completely sure what should be the correct output in such a case.
But, for instance, the following code
backend = FakeSherbrooke()
pass_manager=generate_preset_pass_manager(backend=backend, optimization_level=3, translation_method='synthesis', basis_gates=['u', 'cx'])
transpiled_circuit = pass_manager.run(qc)
runs fine.
According to the documentation, the basis gate is derived from backend and unless a value for basis gate is explicitly provided. Since, the backend is given as a parameter, I was expecting the basis gates to be derived from it.
Environment
What is happening?
HighLevelSynthesis pass fails on when transpiling circuit with QFTGate's inverse.
How can we reproduce the issue?
What should happen?
Transpiler Error:
Any suggestions?
No response