Skip to content

Commit e813b14

Browse files
authored
Fixed typo in documentation (#2611)
1 parent 2dc8c4f commit e813b14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/guide/executors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ print("\nExecuted circuits:\n", *executor.executed_circuits, sep="\n")
7676
print("\nQuantum results:\n", *executor.quantum_results, sep="\n")
7777
```
7878

79-
To run a circuit of sequence of circuits, use the `Executor.evaluate` method.
79+
To run a circuit or sequence of circuits, use the `Executor.evaluate` method.
8080

8181
```{code-cell} ipython3
8282
import cirq

mitiq/executor/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def evaluate(
118118
quantum results are stored in ``self.quantum_results``.
119119
120120
Args:
121-
circuits: A single circuit of list of circuits.
121+
circuits: A single circuit or list of circuits.
122122
observable: Observable O in the expression Tr[ρ O]. If None,
123123
the ``executor`` must return a float (which corresponds to
124124
Tr[ρ O] for a specific, fixed observable O).

0 commit comments

Comments
 (0)