-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Informations
- QISKit (Python SDK) version: 0.5.3
- Python version: 3.6.5
- Operating system: macOS 10.13.5
What is the current behavior?
load_qasm_file
and load_qasm_string
converts t
gate into tdg
.
Steps to reproduce the problem
Run the following script.
from qiskit.wrapper import load_qasm_string
qasm_string="""
OPENQASM 2.0;
include "qelib1.inc";
qreg q[1];
creg c[1];
t q[0];
"""
circuit = load_qasm_string(qasm_string, name='tmp', basis_gates='t')
print(circuit.qasm())
The result is as follows.
OPENQASM 2.0;
include "qelib1.inc";
qreg q[1];
creg c[1];
tdg q[0];
What is the expected behavior?
Do not change t
gate.
Suggested solutions
I have no idea.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working