We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transpilation fails when QFTGate is added in the circuit.
from qiskit import QuantumCircuit from qiskit_ibm_transpiler.transpiler_service import TranspilerService from qiskit.circuit.library import QFTGate qft = QFTGate(1) qc = QuantumCircuit(2) qc.h(0) qc.h(1) qc.append(qft, [0]) qc.measure_all() print(qc) for j in range(1,4): cloud_transpiler_service = TranspilerService( backend_name="ibm_sherbrooke", ai="false", optimization_level=j, ) transpiled_circuit = cloud_transpiler_service.run(qc) print(f" Passed optimization level {j}")
Output:
┌───┐┌─────┐ ░ ┌─┐ q_0: ┤ H ├┤ Qft ├─░─┤M├─── ├───┤└─────┘ ░ └╥┘┌─┐ q_1: ┤ H ├────────░──╫─┤M├ └───┘ ░ ║ └╥┘ meas: 2/════════════════╩══╩═ 0 1 ERROR:qiskit_ibm_transpiler.wrappers.base:The request FAILED ERROR:qiskit_ibm_transpiler.wrappers.base:Failed to get a result for transpile: The background task xxxx FAILED ERROR:qiskit_ibm_transpiler.wrappers.base:The background task xxxx FAILED qiskit.transpiler.exceptions.TranspilerError: 'The background task xxxx FAILED'
The text was updated successfully, but these errors were encountered:
Hi @glanzz , can you check if this issue is still happening in last version?
Sorry, something went wrong.
No branches or pull requests
Transpilation fails when QFTGate is added in the circuit.
Output:
The text was updated successfully, but these errors were encountered: