Skip to content
New issue

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

HalfAngle Error: 'Instruction y is not supported' #1233

Closed
JustinTHou opened this issue Jul 21, 2023 · 1 comment
Closed

HalfAngle Error: 'Instruction y is not supported' #1233

JustinTHou opened this issue Jul 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@JustinTHou
Copy link

Informations

  • Qiskit Experiments version: 0.5.3
  • Python version: 3.11.3
  • Operating system:

What is the current behavior?

Running HalfAngle reports error message 'Instruction y is not supported.'

HalfAngle sets y as one of the basis gates which is not in the backend's default basis.
If we override HalfAngle's basis gates to the backend's default set, then the transpiler can convert the y gates into sx-sx which will make the experiment not test what it is supposed to test.

Steps to reproduce the problem

Tested on maple staging backend and ibmq_quito backend, both with basis gate set ['cx', 'id', 'rz', 'sx', 'x']. The same error messages are shown.

What is the expected behavior?

The HalfAngle experiment runs normally with default basis gate set in ['cx', 'id', 'rz', 'sx', 'x'].

Suggested solutions

@JustinTHou JustinTHou added the bug Something isn't working label Jul 21, 2023
@coruscating
Copy link
Collaborator

Addressed by #1259.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants