Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Co-authored-by: Pieter Eendebak <[email protected]>

Co-authored-by: Julien Gacon <[email protected]>
  • Loading branch information
jakelishman and Cryoris authored Jan 5, 2024
1 parent e7e2489 commit b4b0b99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit/circuit/quantumcircuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ def has_parameter(self, name_or_param: str | Parameter, /) -> bool:
See also:
:meth:`QuantumCircuit.get_parameter`
Retrive the :class:`.Parameter` instance from this circuit by name.
Retrieve the :class:`.Parameter` instance from this circuit by name.
:meth:`QuantumCircuit.has_var`
A similar method to this, but for run-time :class:`.expr.Var` variables instead of
compile-time :class:`.Parameter`\\ s.
Expand Down Expand Up @@ -1633,7 +1633,7 @@ def has_var(self, name_or_var: str | expr.Var, /) -> bool:
See also:
:meth:`QuantumCircuit.get_var`
Retrive the :class:`.expr.Var` instance from this circuit by name.
Retrieve the :class:`.expr.Var` instance from this circuit by name.
:meth:`QuantumCircuit.has_parameter`
A similar method to this, but for compile-time :class:`.Parameter`\\ s instead of
run-time :class:`.expr.Var` variables.
Expand Down

0 comments on commit b4b0b99

Please sign in to comment.