Releases: MarcSerraPeralta/surface-sim
Releases · MarcSerraPeralta/surface-sim
v0.5.0
Build the logical implementation of a given circuit.
What's Changed
- Change naming of detector frames by @MarcSerraPeralta in #152
- Resetting num rounds and generators of anc detectors when (de)activated by @MarcSerraPeralta in #153
- Yield TICK blocks instead of same-operation blocks by @MarcSerraPeralta in #154
- Solve bug from
stim.Circuit.pop
by @MarcSerraPeralta in #158 - Solve bug with
llvmlite
by @MarcSerraPeralta in #159 - Revert to original action config by @MarcSerraPeralta in #160
- Revert to previous action config by @MarcSerraPeralta in #161
- Add manual CI action by @MarcSerraPeralta in #163
- Solve bug in manual CI actions by @MarcSerraPeralta in #164
- Use
requirements_dev.txt
in manual CI action by @MarcSerraPeralta in #165 - Update
manual_ci_pipeline.yaml
by @MarcSerraPeralta in #166 - Update
manual_ci_pipeline.yaml
by @MarcSerraPeralta in #167 - Use
requirements_dev.txt
in CI by @MarcSerraPeralta in #168 - Add decorators for the circuit-block functions by @MarcSerraPeralta in #169
- Add individual log operations for each meas and reset basis and state by @MarcSerraPeralta in #170
- Add
merge_ops
and solve bug inmerge_circuits
by @MarcSerraPeralta in #173 - Improve handling of the TICKs by @MarcSerraPeralta in #174
- Change log gates naming to include "fold-transversal" by @MarcSerraPeralta in #175
- Add
unrot_surface_codes
by @MarcSerraPeralta in #176 - Improve speed of
set_trans_cnot
by @MarcSerraPeralta in #178 - Add option to generate experiments from arbitrary circuits by @MarcSerraPeralta in #180
- Solve bug in
experiment_from_schedule
by @MarcSerraPeralta in #181 - Solve bug in
merge_tick_blocks
and add test by @MarcSerraPeralta in #183 - Solve bug in
merge_ops
and change gate labels by @MarcSerraPeralta in #185 - Remove NW, NE, SW, SE to be automatically stored in
Layout
by @MarcSerraPeralta in #186 - Make
Model.idle
return "I" instruction by @MarcSerraPeralta in #187 - Solve bug when adding idling noise in logical operations by @MarcSerraPeralta in #189
- Add
gauge_detectors
option toexperiment_from_schedule
by @MarcSerraPeralta in #192 - Add schematic about the
arbitrary_experiment
module by @MarcSerraPeralta in #194 - Add more tests for
arbitrary_experiment
by @MarcSerraPeralta in #195 - Update to version
0.5.0
by @MarcSerraPeralta in #196
Full Changelog: v0.4.1...v0.5.0
v0.4.1
Fix bugs from v0.4.0.
What's Changed
- Add tests for
Layout
by @MarcSerraPeralta in #144 - Add repeated-H experiment for the unrotated surface code by @MarcSerraPeralta in #146
- Add
"tq_error_prob"
parameter inSetup
by @MarcSerraPeralta in #147 - Update to version
0.4.1
by @MarcSerraPeralta in #148
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Add more logical operations (transversal H, mid-circuit logical measurements, transversal CNOT,...).
What's Changed
- Remove deprecated code by @MarcSerraPeralta in #96
- Remove deprecated
typing
imports by @MarcSerraPeralta in #97 - Add
surface_sim.util.merge_circuits
by @MarcSerraPeralta in #100 - Solve bug in
log_x
andlog_z
for the XZZX surface code by @MarcSerraPeralta in #101 - Solve issue with pipelined/parallel schedules for XZZX surface code by @MarcSerraPeralta in #102
- Docstring and import fixes by @MarcSerraPeralta in #103
- Add functionality to check unique properties in layouts by @MarcSerraPeralta in #104
- Improve the effect of the
anc_detectors
argument by @MarcSerraPeralta in #106 - Add
gauge_detectors
option in experiments by @MarcSerraPeralta in #107 - Add
cnot
gate to the models by @MarcSerraPeralta in #109 - Add coordinates to detectors by @MarcSerraPeralta in #111
- Add unrotated surface code layout by @MarcSerraPeralta in #114
- Add unrotated surface code experiments by @MarcSerraPeralta in #116
- Add
"t"
detector frame by @MarcSerraPeralta in #120 - Add reset and measurement in Pauli bases for
CircuitNoiseModel
by @MarcSerraPeralta in #121 - Add measurement and reset in all Pauli bases and in all models by @MarcSerraPeralta in #122
- Change unrotated surface code directions to N, S, E, W by @MarcSerraPeralta in #123
- Add functionality to build layouts with different positions, labels and indices by @MarcSerraPeralta in #125
- Change naming for autogenerated layouts by @MarcSerraPeralta in #126
- Move
stab_gen_matrix
fromLayout
toDetectors
by @MarcSerraPeralta in #127 - Hotfix:
Detectors.update_from_dict
by @MarcSerraPeralta in #129 - Check for print statements in code by @MarcSerraPeralta in #130
- Hotfix:
actions.yaml
by @MarcSerraPeralta in #131 - Improve method for merging QEC cycle circuits by @MarcSerraPeralta in #133
- Add merge function for logical measurements by @MarcSerraPeralta in #134
- Add the repeated CNOT experiment by @MarcSerraPeralta in #136
- Add flake8 rule to avoid unused imports by @MarcSerraPeralta in #137
- Add dict utilities to
Layout
by @MarcSerraPeralta in #138 - Add transversal H gate for unrotated surface code by @MarcSerraPeralta in #139
- Add active/inactivate flag for detectors in
Detectors
by @MarcSerraPeralta in #142 - Update to version
0.4.0
by @MarcSerraPeralta in #143
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Minor changes, extra functionality, deprecations, and bug fixes.
What's Changed
- More readable circuit generation by @MarcSerraPeralta in #68
- Improve docstrings by @MarcSerraPeralta in #69
- Remove
typing
due to deprecation by @MarcSerraPeralta in #70 - Hotfix: update of stabilizer generators in
Detectors
by @MarcSerraPeralta in #71 - Move resets in QEC cycles by @MarcSerraPeralta in #74
- Add incoming and phenomenological noise models by @MarcSerraPeralta in #76
- Add TICK after incoming noise by @MarcSerraPeralta in #77
- Better ordering of noise channels for clearer diagrams by @MarcSerraPeralta in #78
- Improve docstring of
set_trans_s
by @MarcSerraPeralta in #80 - Allow multiple logical qubits in a single
Layout
by @MarcSerraPeralta in #82 - Make the transversal S label in the layout specific to the logical qubit by @MarcSerraPeralta in #83
- Add flag in
experiments
to select which detectors to define by @MarcSerraPeralta in #84 - Add font size option in layout plotter by @MarcSerraPeralta in #86
- Ensure that the correct layout/code is given to the circuit blocks by @MarcSerraPeralta in #88
- Add the
"r-1"
frame inDetectors
by @MarcSerraPeralta in #91 - Change
surface_code_...
modules torotated_surface_code_...
by @MarcSerraPeralta in #92 - Update
docs/
by @MarcSerraPeralta in #94 - Update to version
0.3.0
by @MarcSerraPeralta in #95
Full Changelog: v0.2.1...v0.3.0
v0.2.1
Fix bugs from v0.2.0.
What's Changed
- Add
Detectors.new_circuit
by @MarcSerraPeralta in #63 - Hotfix:
Detectors.build_from_data
by @MarcSerraPeralta in #65 - Update to version
0.2.1
by @MarcSerraPeralta in #66
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Simulate transversal logical gates.
What's Changed
- Update
README.md
by @MarcSerraPeralta in #33 - Add measurement labelling in
Model
by @MarcSerraPeralta in #35 - Improve error handling when parameter is not specified by @MarcSerraPeralta in #37
- Add test tests by @MarcSerraPeralta in #44
- Improve
test_tests.py
by @MarcSerraPeralta in #45 - Change
data_init
to a dict by @MarcSerraPeralta in #46 - Solve
Model
issues with LSP by @MarcSerraPeralta in #47 - Move
layouts
module fromqec-util
tosurface-sim
by @MarcSerraPeralta in #49 - Move
surface_sim.util.distance
toqec_util
by @MarcSerraPeralta in #51 - Fix
surface_sim.layouts
bugs, docs and default arguments by @MarcSerraPeralta in #52 - Add
Detectors
class by @MarcSerraPeralta in #54 - Add
log_gates
module by @MarcSerraPeralta in #55 - Add
CircuitNoiseSetup
and improve documentation by @MarcSerraPeralta in #57 - Use
Detectors
in the experiments by @MarcSerraPeralta in #58 - Add
repeated_s_experiment
for CSS surface code by @MarcSerraPeralta in #60 - Add stim orientation option in layout plotter by @MarcSerraPeralta in #61
- Update version to
0.2.0
by @MarcSerraPeralta in #62
Full Changelog: v0.1.0...v0.2.0
v0.1.0
First version of the surface-sim
package.
What's Changed
- Add
QUBIT_COORDS
to the experiments by @MarcSerraPeralta in #8 - Hotfix: add
QUBIT_COORDS
for all qec round cases by @MarcSerraPeralta in #9 - Fix
qec-util
dependency by @MarcSerraPeralta in #11 - Hotfix CZ gates for CSS code and
QUBIT_COORDS
by @MarcSerraPeralta in #12 - Build
OBSERVABLE_INCLUDE
fromLayout.log_z/x
by @MarcSerraPeralta in #13 - Fix
qec-util
dependency by @MarcSerraPeralta in #14 - Add S and S^dagger gates to the noise models by @MarcSerraPeralta in #19
- Add
get_circuit_distance
inutil
by @MarcSerraPeralta in #20 - Add
black
test by @MarcSerraPeralta in #22 - Update
CITATION.cff
by @MarcSerraPeralta in #23 - Avoid code repetition in
circuit_blocks
by @MarcSerraPeralta in #24 - Improve
docs/
by @MarcSerraPeralta in #25 - Add badges and github actions by @MarcSerraPeralta in #26
- Hotfix
actions.yaml
by @MarcSerraPeralta in #28 - Hotfix: update
qec-util
dependency by @MarcSerraPeralta in #29 - Update requirements by @MarcSerraPeralta in #30
- Allow experiments to have 0 QEC cycles by @MarcSerraPeralta in #32
Full Changelog: https://github.com/MarcSerraPeralta/surface-sim/commits/v0.1.0