Skip to content

Commit

Permalink
Fix docstring typo in to_qasm (#836)
Browse files Browse the repository at this point in the history
Fixes #691
  • Loading branch information
Strilanc authored Sep 24, 2024
1 parent 8892636 commit 1fd7827
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions doc/python_api_reference_vDev.md
Original file line number Diff line number Diff line change
Expand Up @@ -3339,8 +3339,8 @@ def to_qasm(
This should be set to 2 or to 3.
Differences between the versions are:
- Support for operations on classical bits operations (only version
3). This means DETECTOR and OBSERVABLE_INCLUDE only work with
- Support for operations on classical bits (only version 3).
This means DETECTOR and OBSERVABLE_INCLUDE only work with
version 3.
- Support for feedback operations (only version 3).
- Support for subroutines (only version 3). Without subroutines,
Expand Down
4 changes: 2 additions & 2 deletions doc/stim.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2573,8 +2573,8 @@ class Circuit:
This should be set to 2 or to 3.
Differences between the versions are:
- Support for operations on classical bits operations (only version
3). This means DETECTOR and OBSERVABLE_INCLUDE only work with
- Support for operations on classical bits (only version 3).
This means DETECTOR and OBSERVABLE_INCLUDE only work with
version 3.
- Support for feedback operations (only version 3).
- Support for subroutines (only version 3). Without subroutines,
Expand Down
4 changes: 2 additions & 2 deletions glue/python/src/stim/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2573,8 +2573,8 @@ class Circuit:
This should be set to 2 or to 3.
Differences between the versions are:
- Support for operations on classical bits operations (only version
3). This means DETECTOR and OBSERVABLE_INCLUDE only work with
- Support for operations on classical bits (only version 3).
This means DETECTOR and OBSERVABLE_INCLUDE only work with
version 3.
- Support for feedback operations (only version 3).
- Support for subroutines (only version 3). Without subroutines,
Expand Down
4 changes: 2 additions & 2 deletions src/stim/circuit/circuit.pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1663,8 +1663,8 @@ void stim_pybind::pybind_circuit_methods(pybind11::module &, pybind11::class_<Ci
This should be set to 2 or to 3.
Differences between the versions are:
- Support for operations on classical bits operations (only version
3). This means DETECTOR and OBSERVABLE_INCLUDE only work with
- Support for operations on classical bits (only version 3).
This means DETECTOR and OBSERVABLE_INCLUDE only work with
version 3.
- Support for feedback operations (only version 3).
- Support for subroutines (only version 3). Without subroutines,
Expand Down

0 comments on commit 1fd7827

Please sign in to comment.