Skip to content

Commit

Permalink
Fix a few typos in comments and strings (#7435)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
garrison and mergify[bot] authored Dec 23, 2021
1 parent 8e54baa commit 0e70c05
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion qiskit/algorithms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
------------
Algorithms to find eigenvalues of an operator. For chemistry these can be used to find excited
states of a molecule and qiskit.chemistry has some algorithms that leverage chemistry specific
states of a molecule, and qiskit-nature has some algorithms that leverage chemistry specific
knowledge to do this in that application domain.
.. autosummary::
Expand Down
2 changes: 1 addition & 1 deletion qiskit/opflow/operator_globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def make_immutable(obj):
Swap = make_immutable(CircuitOp(SwapGate()))
CZ = make_immutable(CircuitOp(CZGate()))

# 1-Qubit Paulis
# 1-Qubit states
Zero = make_immutable(DictStateFn("0"))
One = make_immutable(DictStateFn("1"))
Plus = make_immutable(H.compose(Zero))
Expand Down
2 changes: 1 addition & 1 deletion qiskit/opflow/primitive_ops/pauli_sum_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@


class PauliSumOp(PrimitiveOp):
"""Class for Operators backend by Terra's ``SparsePauliOp`` class."""
"""Class for Operators backed by Terra's ``SparsePauliOp`` class."""

primitive: SparsePauliOp

Expand Down
2 changes: 1 addition & 1 deletion qiskit/quantum_info/operators/measures.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def _cvxpy_check(name):
# Check if CVXPY package is installed
if not _HAS_CVX:
raise QiskitError(
f"CVXPY backage is requried for {name}. Install with `pip install cvxpy` to use."
f"CVXPY package is requried for {name}. Install with `pip install cvxpy` to use."
)
# Check CVXPY version
version = cvxpy.__version__
Expand Down

0 comments on commit 0e70c05

Please sign in to comment.