From b4b0b9906c8ddd7d4e3333490101c67c82c1f822 Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Fri, 5 Jan 2024 13:09:29 +0000 Subject: [PATCH] Fix typos Co-authored-by: Pieter Eendebak Co-authored-by: Julien Gacon --- qiskit/circuit/quantumcircuit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qiskit/circuit/quantumcircuit.py b/qiskit/circuit/quantumcircuit.py index 0edd0d79ff35..dc7e8302dab8 100644 --- a/qiskit/circuit/quantumcircuit.py +++ b/qiskit/circuit/quantumcircuit.py @@ -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. @@ -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.