Skip to content

Commit 1fd7827

Browse files
authored
Fix docstring typo in to_qasm (#836)
Fixes #691
1 parent 8892636 commit 1fd7827

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

doc/python_api_reference_vDev.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3339,8 +3339,8 @@ def to_qasm(
33393339
This should be set to 2 or to 3.
33403340
33413341
Differences between the versions are:
3342-
- Support for operations on classical bits operations (only version
3343-
3). This means DETECTOR and OBSERVABLE_INCLUDE only work with
3342+
- Support for operations on classical bits (only version 3).
3343+
This means DETECTOR and OBSERVABLE_INCLUDE only work with
33443344
version 3.
33453345
- Support for feedback operations (only version 3).
33463346
- Support for subroutines (only version 3). Without subroutines,

doc/stim.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2573,8 +2573,8 @@ class Circuit:
25732573
This should be set to 2 or to 3.
25742574
25752575
Differences between the versions are:
2576-
- Support for operations on classical bits operations (only version
2577-
3). This means DETECTOR and OBSERVABLE_INCLUDE only work with
2576+
- Support for operations on classical bits (only version 3).
2577+
This means DETECTOR and OBSERVABLE_INCLUDE only work with
25782578
version 3.
25792579
- Support for feedback operations (only version 3).
25802580
- Support for subroutines (only version 3). Without subroutines,

glue/python/src/stim/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2573,8 +2573,8 @@ class Circuit:
25732573
This should be set to 2 or to 3.
25742574
25752575
Differences between the versions are:
2576-
- Support for operations on classical bits operations (only version
2577-
3). This means DETECTOR and OBSERVABLE_INCLUDE only work with
2576+
- Support for operations on classical bits (only version 3).
2577+
This means DETECTOR and OBSERVABLE_INCLUDE only work with
25782578
version 3.
25792579
- Support for feedback operations (only version 3).
25802580
- Support for subroutines (only version 3). Without subroutines,

src/stim/circuit/circuit.pybind.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,8 +1663,8 @@ void stim_pybind::pybind_circuit_methods(pybind11::module &, pybind11::class_<Ci
16631663
This should be set to 2 or to 3.
16641664
16651665
Differences between the versions are:
1666-
- Support for operations on classical bits operations (only version
1667-
3). This means DETECTOR and OBSERVABLE_INCLUDE only work with
1666+
- Support for operations on classical bits (only version 3).
1667+
This means DETECTOR and OBSERVABLE_INCLUDE only work with
16681668
version 3.
16691669
- Support for feedback operations (only version 3).
16701670
- Support for subroutines (only version 3). Without subroutines,

0 commit comments

Comments
 (0)