From 48d2492e9a43036173e8f9dc2dcba12eacd426c4 Mon Sep 17 00:00:00 2001 From: Leander Cain Slotosch <79199855+LeanderCS@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:59:26 +0200 Subject: [PATCH] Fixes typo on api/qiskit/providers page (#13296) * Fixes typo on api/qiskit/providers page * Remove unnecessary release not file --- qiskit/providers/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit/providers/__init__.py b/qiskit/providers/__init__.py index 6736d67a214b..e3a2f63e6ca0 100644 --- a/qiskit/providers/__init__.py +++ b/qiskit/providers/__init__.py @@ -307,7 +307,7 @@ def __init__(self, label=None): def _define(self): qc = QuantumCircuit(1) - q.ry(np.pi / 2, 0) + qc.ry(np.pi / 2, 0) self.definition = qc The key thing to ensure is that for any custom gates in your Backend's basis set