-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Information
- Qiskit Terra version: latest
- Python version:
- Operating system:
What is the current behavior?
qc = QuantumCircuit(1)
qc.y(0)
transpile(qc,backend).draw()
gives:
global phase: -π/2
┌────┐┌────┐┌───────┐
q_0 -> 0 ┤ √X ├┤ √X ├┤ RZ(π) ├
└────┘└────┘└───────┘
which is twice as long in duration as directly using x
since both sx
and x
have the same duration on the backend.
Steps to reproduce the problem
What is the expected behavior?
Suggested solutions
Perhaps x
goes before sx
in the basis gates?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working