Surface-sim

Latest version: v0.4.1

Safety actively analyzes 688758 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.1

Fix bugs from v0.4.0.

What's Changed
* Add tests for `Layout` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/144
* Add repeated-H experiment for the unrotated surface code by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/146
* Add `"tq_error_prob"` parameter in `Setup` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/147
* Update to version `0.4.1` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/148


**Full Changelog**: https://github.com/MarcSerraPeralta/surface-sim/compare/v0.4.0...v0.4.1

0.4.0

Add more logical operations (transversal H, mid-circuit logical measurements, transversal CNOT,...).

What's Changed
* Remove deprecated code by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/96
* Remove deprecated `typing` imports by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/97
* Add `surface_sim.util.merge_circuits` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/100
* Solve bug in `log_x` and `log_z` for the XZZX surface code by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/101
* Solve issue with pipelined/parallel schedules for XZZX surface code by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/102
* Docstring and import fixes by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/103
* Add functionality to check unique properties in layouts by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/104
* Improve the effect of the `anc_detectors` argument by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/106
* Add `gauge_detectors` option in experiments by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/107
* Add `cnot` gate to the models by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/109
* Add coordinates to detectors by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/111
* Add unrotated surface code layout by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/114
* Add unrotated surface code experiments by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/116
* Add `"t"` detector frame by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/120
* Add reset and measurement in Pauli bases for `CircuitNoiseModel` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/121
* Add measurement and reset in all Pauli bases and in all models by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/122
* Change unrotated surface code directions to N, S, E, W by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/123
* Add functionality to build layouts with different positions, labels and indices by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/125
* Change naming for autogenerated layouts by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/126
* Move `stab_gen_matrix` from `Layout` to `Detectors` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/127
* Hotfix: `Detectors.update_from_dict` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/129
* Check for print statements in code by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/130
* Hotfix: `actions.yaml` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/131
* Improve method for merging QEC cycle circuits by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/133
* Add merge function for logical measurements by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/134
* Add the repeated CNOT experiment by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/136
* Add flake8 rule to avoid unused imports by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/137
* Add dict utilities to `Layout` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/138
* Add transversal H gate for unrotated surface code by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/139
* Add active/inactivate flag for detectors in `Detectors` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/142
* Update to version `0.4.0` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/143


**Full Changelog**: https://github.com/MarcSerraPeralta/surface-sim/compare/v0.3.0...v0.4.0

0.3.0

Minor changes, extra functionality, deprecations, and bug fixes.

What's Changed
* More readable circuit generation by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/68
* Improve docstrings by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/69
* Remove `typing` due to deprecation by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/70
* Hotfix: update of stabilizer generators in `Detectors` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/71
* Move resets in QEC cycles by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/74
* Add incoming and phenomenological noise models by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/76
* Add TICK after incoming noise by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/77
* Better ordering of noise channels for clearer diagrams by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/78
* Improve docstring of `set_trans_s` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/80
* Allow multiple logical qubits in a single `Layout` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/82
* Make the transversal S label in the layout specific to the logical qubit by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/83
* Add flag in `experiments` to select which detectors to define by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/84
* Add font size option in layout plotter by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/86
* Ensure that the correct layout/code is given to the circuit blocks by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/88
* Add the `"r-1"` frame in `Detectors` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/91
* Change `surface_code_...` modules to `rotated_surface_code_...` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/92
* Update `docs/` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/94
* Update to version `0.3.0` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/95


**Full Changelog**: https://github.com/MarcSerraPeralta/surface-sim/compare/v0.2.1...v0.3.0

0.2.1

Fix bugs from v0.2.0.

What's Changed
* Add `Detectors.new_circuit` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/63
* Hotfix: `Detectors.build_from_data` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/65
* Update to version `0.2.1` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/66


**Full Changelog**: https://github.com/MarcSerraPeralta/surface-sim/compare/v0.2.0...v0.2.1

0.2.0

Simulate transversal logical gates.

What's Changed
* Update `README.md` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/33
* Add measurement labelling in `Model` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/35
* Improve error handling when parameter is not specified by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/37
* Add test tests by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/44
* Improve `test_tests.py` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/45
* Change `data_init` to a dict by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/46
* Solve `Model` issues with LSP by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/47
* Move `layouts` module from `qec-util` to `surface-sim` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/49
* Move `surface_sim.util.distance` to `qec_util` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/51
* Fix `surface_sim.layouts` bugs, docs and default arguments by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/52
* Add `Detectors` class by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/54
* Add `log_gates` module by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/55
* Add `CircuitNoiseSetup` and improve documentation by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/57
* Use `Detectors` in the experiments by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/58
* Add `repeated_s_experiment` for CSS surface code by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/60
* Add stim orientation option in layout plotter by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/61
* Update version to `0.2.0` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/62


**Full Changelog**: https://github.com/MarcSerraPeralta/surface-sim/compare/v0.1.0...v0.2.0

0.1.0

First version of the `surface-sim` package.

What's Changed
* Add `QUBIT_COORDS` to the experiments by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/8
* Hotfix: add `QUBIT_COORDS` for all qec round cases by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/9
* Fix `qec-util` dependency by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/11
* Hotfix CZ gates for CSS code and `QUBIT_COORDS` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/12
* Build `OBSERVABLE_INCLUDE` from `Layout.log_z/x` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/13
* Fix `qec-util` dependency by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/14
* Add S and S^dagger gates to the noise models by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/19
* Add `get_circuit_distance` in `util` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/20
* Add `black` test by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/22
* Update `CITATION.cff` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/23
* Avoid code repetition in `circuit_blocks` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/24
* Improve `docs/` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/25
* Add badges and github actions by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/26
* Hotfix `actions.yaml` by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/28
* Hotfix: update `qec-util` dependency by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/29
* Update requirements by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/30
* Allow experiments to have 0 QEC cycles by MarcSerraPeralta in https://github.com/MarcSerraPeralta/surface-sim/pull/32

**Full Changelog**: https://github.com/MarcSerraPeralta/surface-sim/commits/v0.1.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.