Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f1f657f

Browse files
committedJan 21, 2025
Merge branch 'main' of github.com:quantumlib/Stim into obstargetpaulis
2 parents 847f465 + a33df80 commit f1f657f

22 files changed

+21260
-21005
lines changed
 

‎.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ jobs:
431431
- run: bazel build :stim_dev_wheel
432432
- run: pip install bazel-bin/stim-0.0.dev0-py3-none-any.whl
433433
- run: pip install -e glue/sample
434-
- run: pip install pytest pymatching fusion-blossom~=0.1.4 mwpf~=0.1.1
434+
- run: pip install pytest pymatching fusion-blossom~=0.1.4 mwpf~=0.1.5
435435
- run: pytest glue/sample
436436
- run: dev/doctest_proper.py --module sinter
437437
- run: sinter help

‎doc/getting_started.ipynb

+20,926-20,878
Large diffs are not rendered by default.

‎doc/python_api_reference_vDev.md

+5
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,8 @@ def append(
831831
name: str,
832832
targets: Union[int, stim.GateTarget, Iterable[Union[int, stim.GateTarget]]],
833833
arg: Union[float, Iterable[float]],
834+
*,
835+
tag: str = "",
834836
) -> None:
835837
pass
836838
@overload
@@ -844,6 +846,8 @@ def append(
844846
name: object,
845847
targets: object = (),
846848
arg: object = None,
849+
*,
850+
tag: str = '',
847851
) -> None:
848852
"""Appends an operation into the circuit.
849853
@@ -894,6 +898,7 @@ def append(
894898
compatibility reasons, `cirq.append_operation` (but not
895899
`cirq.append`) will default to a single 0.0 argument for gates that
896900
take exactly one argument.
901+
tag: A customizable string attached to the instruction.
897902
"""
898903
```
899904

‎doc/stim.pyi

+7
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ class Circuit:
303303
name: str,
304304
targets: Union[int, stim.GateTarget, Iterable[Union[int, stim.GateTarget]]],
305305
arg: Union[float, Iterable[float]],
306+
*,
307+
tag: str = "",
306308
) -> None:
307309
pass
308310
@overload
@@ -316,6 +318,8 @@ class Circuit:
316318
name: object,
317319
targets: object = (),
318320
arg: object = None,
321+
*,
322+
tag: str = '',
319323
) -> None:
320324
"""Appends an operation into the circuit.
321325
@@ -366,6 +370,7 @@ class Circuit:
366370
compatibility reasons, `cirq.append_operation` (but not
367371
`cirq.append`) will default to a single 0.0 argument for gates that
368372
take exactly one argument.
373+
tag: A customizable string attached to the instruction.
369374
"""
370375
def append_from_stim_program_text(
371376
self,
@@ -398,6 +403,8 @@ class Circuit:
398403
name: object,
399404
targets: object = (),
400405
arg: object = None,
406+
*,
407+
tag: str = '',
401408
) -> None:
402409
"""[DEPRECATED] use stim.Circuit.append instead
403410
"""

0 commit comments

Comments
 (0)