Open dbowmansqc opened 6 days ago
Code snippet in section custom basis gates on page api/qiskit/providers:
from qiskit.circuit import Gate from qiskit.circuit import QuantumCircuit class SYGate(Gate): def __init__(self, label=None): super().__init__("sy", 1, [], label=label) def _define(self): qc = QuantumCircuit(1) q.ry(np.pi / 2, 0) self.definition = qc
penultimate line should read
qc.ry(np.pi / 2, 0)
Typo
should read
No response
I would like to pick this bug as "good first issue".
Nice, go ahead @hegdeashwin 👍🏻
Environment
What is happening?
Code snippet in section custom basis gates on page api/qiskit/providers:
penultimate line should read
How can we reproduce the issue?
Typo
What should happen?
should read
Any suggestions?
No response