Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typo in documentation #2611

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading