FlamingPy Release 0.9.0b0 #102
nariman87
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New features since the last release
CVMacroLayer
, is introduced as a replacement toreduce_macro_and_simulate
inmacro_reduce.py
. #57 (backward incompatible)CVMacroLayer
with the noise parameters ofCVLayer
.SurfaceCode
: the choice"periodic"
refers to a code with boundaries periodic in all (x, y, and z) directions, whereas codes with"toric"
have periodic boundaries in the x and y axis but not the z axis. #62 (backward compatible)utils.graph_states
. #68 (backward compatible)Bug fixes
viz.draw_EGraph
that raised an error whenever a graph state with non-integer coordinates was plotted. #68p_err
as an argument of thesimulations.py
script as none of the existing objects/classes currently use the phase error probability. #99Improvements
CVLayer
has been rewritten and refactored. #57apply_noise
method has been added to combine the procedures for noise sampling.final
sampling order has been removed, as it is equivalent toinitial
but slower.simulations.py
module has been made simpler and more general. #57code, noise, decoder
objects, as well as arguments (code_args, noise_args, decoder_args
) separately.CVMacroLayer
. #57fig, ax
returns for the draw methods inutils/viz.py
and some additional tests. #55EGraph
plots. #60tests/
based on error correction and software layers. This helps manage and target each test unit. #65, #70build_tests.yaml
workflow now supports executing unit tests in parallel usingpytest-xdist
package. GitHub runners have at least 2 processors, which helps speed up the pytest blocks by ~1.5 times in practice. #70pylint==2.14.0
and added todev_requirements.txt
. #76no-self-use
tags are removed as this check has been removed from pylint (see here)..gitattributes
to the repository, so git automatically handles consistenteol
's for all commits and contributors across different operating systems. #78docformatter
to all.py
files in the repository. Also, increased the scope ofblack
formatter to include documentation files. #79.svg
files to gitignore. #84simulations.py
: #93-d
was removed as it was unused. A working version can be added in the future.error_probability
argument to thesimulations.py
script in order to be able to execute the simulations withiid
noise. An error is raised when iid noise is selected but err_prob is not passed as an argument. #99Documentation changes
macro_reduce.py
, shiftingCVLayer
to cv.ops, and addingCVMacroLayer
. #57flamingpy.utils.graph_states
in therun_graph_states.py
tutorial. #68README.md
and documentation site. #96Contributors
This release contains contributions from (in alphabetical order):
Joost Bus, Sebastián Duque Mesa, Luis Mantilla, Nariman Saadatmand, Ilan Tzitrin, WingCode
See full commit details here.
This discussion was created from the release FlamingPy Release 0.9.0b0.
Beta Was this translation helpful? Give feedback.
All reactions