Skip to content

Commit

Permalink
Fixed typo in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sanketsharma committed Dec 20, 2024
1 parent 2dc8c4f commit 9d2f9ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/guide/executors.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ print("\nExecuted circuits:\n", *executor.executed_circuits, sep="\n")
print("\nQuantum results:\n", *executor.quantum_results, sep="\n")
```

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

```{code-cell} ipython3
import cirq
Expand Down
2 changes: 1 addition & 1 deletion mitiq/executor/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def evaluate(
quantum results are stored in ``self.quantum_results``.
Args:
circuits: A single circuit of list of circuits.
circuits: A single circuit or list of circuits.
observable: Observable O in the expression Tr[ρ O]. If None,
the ``executor`` must return a float (which corresponds to
Tr[ρ O] for a specific, fixed observable O).
Expand Down

0 comments on commit 9d2f9ec

Please sign in to comment.