Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v1.14.0 - More Flows

Compare
Choose a tag to compare
Loading
@StrilancStrilanc released this 24 Sep 08:41
· 0 commits to 36cb178b48ec531aa084cf9aa79e585b90ab32de since this release
47190f4
This commit was signed with the committer’sverified signature.
Strilanc Craig Gidney
GPG key ID:8F0CD4AE5647BDC2
Verified
Learn about vigilant mode.

Flagship changes:

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

Notable changes:

  • Addedstim.Circuit.flow_generators
  • Addedstim.Circuit.insert
  • Addedstim.Circuit.pop
  • Addedstim.Circuit.time_reversed_for_flows
  • Addedstim.Circuit.to_crumble_url
  • Addedstim.Circuit.to_quirk_url
  • Addedstim.CircuitInstruction.num_measurements
  • Addedstim.CircuitInstruction.target_groups
  • Addedstim.CircuitRepeatBlock.num_measurements
  • Addedstim.DemInstruction.target_groups
  • Addedstim.FlipSimulator.clear
  • Addedstim.FlipSimulator.copy
  • Addedstim.GateData.hadamard_conjugated
  • Addedstim.GateData.is_symmetric_gate
  • stim.CompiledDetectorSampler.sample gainedobs_out=None anddets_out=None arguments
  • stim.Circuit.to_crumble_url gainedskip_detectors=False andmark=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 ofR{X,Y,Z} is nowM{X,Y,Z} instead ofMR{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 atdoc/circuit_data_references.md

Notable changes to diagrams:

  • stim.Circuit.diagram gained arows=None argument, for controlling layout
  • Added "tick #" labels to timeslice diagrams
  • Improvedstim.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:

  • Addedsinter.Sampler
  • Addedsinter.CompiledSampler
  • Added named sinter samplerperfectionist
  • Any sinter decoder can now indicate shots to discard, by adding an extra byte column to the returned observable data (0=keep, else=discard)
  • sinter collect now distributes workers evenly over tasks, instead of focusing on one task at a time
  • sinter collect now never switches a worker to a new task until their current task is done
  • Addedsinter plot --point_label_func command line argument
  • Addedsinter plot --dpi for increasing resolution of plots
  • Expandedsinter plot --group_func to take dictionary arguments
    • The"color" key of the dictionary controls color groups
    • The"linestyle" key of the dictionary controls linestyle groups
    • The"marker" key of the dictionary controls marker groups
    • The"label" key of the dictionary controls labels of curves in the legend
    • The"sort" key of the dictionary controls order of curves in the legend
  • sinter collect --processes now defaults to"auto" (number of CPUs) if not specified
  • sinter plot --show is now implied when--out isn't specified
  • Addedsinter plot --preprocess_stats_func for specifying a python expression to process stats before plotting
  • Addedsinter.TaskStats.with_edits
  • Added a safety check tosinter.TaskStats.__add__, raising an exception if decoder/json_metadata disagree despite strong ids agreeing
  • Added supported decoder"hypergraph_union_find"
  • Added supported decoder"mw_parity_factor"

Notable bug fixes:

  • FixedHERALDED_PAULI_CHANNEL_1 permuting X/Y/Z/ error channels 😱😱😱
  • Fixed various internal methods not correctly propagating Pauli terms throughMXX,MYY, andMZZ instructions that operated on the same qubit more than once 😱
  • Fixedstim.Circuit.with_inlined_feedback incorrectly ordering operations fused by the removal of a feedback operation
  • Fixedstimcirq.cirq_circuit_to_stim_circuit not addingTICKs from multi-momentCircuitOperation blocks
  • FixedMPAD targets counting towardsstim.Circuit.num_qubits
  • Fixedstim.PauliString.{before,after} not supportingSPP andSPP_DAG
  • Fixedstim.PauliString.before refusing to cross reset gates
  • Fixed sinter failing to create plots for data points with extremely large shot counts
  • Fixedstim.Tableau.from_stabilizers error messages claiming stabilizers were redundant when they actually anticommuted
  • Fixed incompatibility with numpy v2
  • Fixed incompatibility with new version of scipy (the linear regression type moved)

Special thanks to this release contributors:

@aebrahimi
@inmzhang
@qec-pconner
@dougthor42
@nelimee
@mghibaudi
@folded
@AlexBourassa

Contributors

  • @folded
  • @aebrahimi
  • @dougthor42
  • @AlexBourassa
  • @nelimee
  • @inmzhang
  • @mghibaudi
  • @qec-pconner
folded, aebrahimi, and 6 other contributors
Assets35
Loading

[8]ページ先頭

©2009-2025 Movatter.jp