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

Bump stim from 1.13.0 to 1.14.0 #2511

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 25, 2024

Bumps stim from 1.13.0 to 1.14.0.

Release notes

Sourced from stim's releases.

v1.14.0 - More Flows

Flagship changes:

  • Added stim.Circuit.flow_generators for finding the stabilizer flows of a circuit.
  • Added stim.Circuit.time_reversed_for_flows for reversing circuits containing resets and measurements.
  • Added sinter.Sampler for customizing sinter to more general Monte Carlo sampling tasks.

Notable changes:

  • Added stim.Circuit.flow_generators
  • Added stim.Circuit.insert
  • Added stim.Circuit.pop
  • Added stim.Circuit.time_reversed_for_flows
  • Added stim.Circuit.to_crumble_url
  • Added stim.Circuit.to_quirk_url
  • Added stim.CircuitInstruction.num_measurements
  • Added stim.CircuitInstruction.target_groups
  • Added stim.CircuitRepeatBlock.num_measurements
  • Added stim.DemInstruction.target_groups
  • Added stim.FlipSimulator.clear
  • Added stim.FlipSimulator.copy
  • Added stim.GateData.hadamard_conjugated
  • Added stim.GateData.is_symmetric_gate
  • stim.CompiledDetectorSampler.sample gained obs_out=None and dets_out=None arguments
  • stim.Circuit.to_crumble_url gained skip_detectors=False and mark=None arguments
  • stim.CircuitInstruction.__init__ gained the ability to parse single lines from a stim circuit file
  • stim.DemInstruction.__init__ gained the ability to parse single lines from a detector error model file
  • stim.DemTarget.__init__ gained the ability to parse targets from detector error mode files (e.g. stim.DemTarget("D2"))
  • In stim's gate data, the generalized inverse of R{X,Y,Z} is now M{X,Y,Z} instead of MR{X,Y,Z}
  • Added support for viewing and editing detectors and observables in crumble
  • Reduced the amount of copying during sampling, speeding up detector sampling by around 25%
  • Began collecting papers with available stim circuits at doc/circuit_data_references.md

Notable changes to diagrams:

  • stim.Circuit.diagram gained a rows=None argument, for controlling layout
  • Added "tick #" labels to timeslice diagrams
  • Improved stim.Circuit.detector_error_model error messages to suggest code for drawing a diagram of the problem
  • Match graph diagrams now highlight observable-flipping hyper errors (purple instead of blue)
  • In match graph diagrams, nodes with observable-crossing boundary edges are now colored red instead of black
  • The detector indicator in 3d match graph diagrams is not flat anymore, so it's easier to see from all angles
  • stim.Circuit.diagram("detslice") now draws a pink circle where bad detectors anticommute with dissipative operations, instead of raising an exception
  • Added -html variants of svg diagrams (e.g. circuit.diagram("detslice-html")
    • Outputs a little HTML viewer of the svg diagram, with a resizing tab, which works better in notebooks than a raw SVG
  • detslice diagrams no longer raise an exception for circuits with anticommuting detectors. Instead, a diagram highlighting the anticommutation is returned.
  • Improved the heuristics for using Bezier curves instead of straight lines

Notable changes to sinter:

  • Added sinter.Sampler

... (truncated)

Commits
  • 47190f4 Bump to v1.14.0
  • 1fd7827 Fix docstring typo in to_qasm (#836)
  • 8892636 Tweak sinter's automatic detector error model computation (#832)
  • df99302 Add "hypergraph_union_find" and "mw_parity_factor" decoders to sinter (#837)
  • 3b827fe Add skip_detectors and mark arguments to stim.Circuit.to_crumble_url (#...
  • d7b471e Add stim.Circuit.pop (#834)
  • 42b07a1 Add some instruction utility methods (#833)
  • 3ee5bf8 Fix odd-target-count-for-two-qubit-gate error message (#831)
  • c5830cd Add '--dpi' option to sinter plot (#827)
  • 36cb178 Fix order of operations in Tableau.call.doc (#822)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the infrastructure For issues related to building, packaging, and continuous integration. label Sep 25, 2024
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.72%. Comparing base (ed4d7cf) to head (0683f9f).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2511   +/-   ##
=======================================
  Coverage   98.72%   98.72%           
=======================================
  Files          92       92           
  Lines        4161     4161           
=======================================
  Hits         4108     4108           
  Misses         53       53           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dependabot dependabot bot force-pushed the dependabot/pip/stim-1.14.0 branch from 0e89372 to 15adf3d Compare October 5, 2024 13:32
@dependabot dependabot bot force-pushed the dependabot/pip/stim-1.14.0 branch from 15adf3d to 3fa9505 Compare October 21, 2024 15:25
@natestemen
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/stim-1.14.0 branch from 3fa9505 to fee4174 Compare November 5, 2024 21:39
Bumps [stim](https://github.com/quantumlib/stim) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/quantumlib/stim/releases)
- [Commits](quantumlib/Stim@v1.13.0...v1.14.0)

---
updated-dependencies:
- dependency-name: stim
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/stim-1.14.0 branch from fee4174 to 0683f9f Compare November 5, 2024 21:39
@natestemen natestemen merged commit a629c05 into main Nov 6, 2024
17 checks passed
@dependabot dependabot bot deleted the dependabot/pip/stim-1.14.0 branch November 6, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure For issues related to building, packaging, and continuous integration.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant