-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some instruction utility methods (#833)
- `stim.CircuitInstruction.__init__` now parses a single instruction line from a circuit file, if given one argument - `stim.DemInstruction.__init__` now parses a single instruction line from a dem file, if given one argument - Add `stim.CircuitRepeatBlock.num_measurements` - Fix `stim.CircuitInstruction.__init__` not validating its arguments form a valid instruction, until attempting to append it to a circuit - Add documentation examples to `CircuitErrorLocationStackFrame` methods Fixes #797 Fixes #800 Fixes #801
- Loading branch information
Showing
18 changed files
with
630 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.