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

Fixes typo on api/qiskit/providers page #13296

Merged
merged 2 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qiskit/providers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/fix-api-qiskit-providers-page.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fixes:
- |
Fixes a typo where QuantumCircuit variable was incorrectly called as c instead of qc on the Qiskit Providers page.
Refer to `#13211 <hhttps://github.com/Qiskit/qiskit/issues/13211>` for more details.