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
Kernel dies when using ECR basis gate in MPS simulator.
from qiskit import QuantumCircuit, transpile from qiskit_aer import AerSimulator qc = QuantumCircuit(2) qc.h(0) qc.cx(0, 1) qc.rz(0.5, 0) qc.measure_all() # Works with CX simulator = AerSimulator(method="matrix_product_state", basis_gates=["cx", "id", "rz", "sx"]) qct = transpile(qc, simulator) display(qct.draw(output='mpl')) job = simulator.run(qct) # Kernel dies with ECR simulator = AerSimulator(method="matrix_product_state", basis_gates=["ecr", "id", "rz", "sx"]) qct = transpile(qc, simulator) display(qct.draw(output='mpl')) job = simulator.run(qct)
Last line causes Kernel to die every time.
Kernel should not die, simulation should be able to use CX or ECR basis gate, esp. as new devices all use ECR.
Unsure
The text was updated successfully, but these errors were encountered:
I'm fixing this issue by 2 steps:
Sorry, something went wrong.
Wonderful, thank you, that sounds good.
We will want to test the ECR to make sure it's implemented faithfully.
doichanj
Successfully merging a pull request may close this issue.
Informations
What is the current behavior?
Kernel dies when using ECR basis gate in MPS simulator.
Steps to reproduce the problem
Last line causes Kernel to die every time.
What is the expected behavior?
Kernel should not die, simulation should be able to use CX or ECR basis gate, esp. as new devices all use ECR.
Suggested solutions
Unsure
The text was updated successfully, but these errors were encountered: