FlamingPy Release 0.10.1b1
Pre-release
Pre-release
New features since the last release
- Add
is_lc_equivalent
method to the EGraph class to check if two EGraphs are equivalent under local complementation, as well as related linear algebra helper functions insideutils\linalg.py
. #89, #117 (backward compatible) - Add functions
add_qubit
andremove_qubit
to theEGraph
class, which allow adding and removing nodes of the EGraph while updating internal attributes of the class. #100 (backward compatible) - Added Plotly backend for visualizing graph states. #103
- The I/O of frontend
simulations.py
has been improved. The input has been simplified to an intuitive set ofcode
,code_args
,noise
, andnoise_args
. As long as those combinations are valid, FlamingPy will run simulations and automatically set up the output file based on the input. #111 (backward incompatible)- An example run will be
which generates
python flamingpy/simulations.py -code "SurfaceCode" -code_args "{'distance':3, 'ec':'primal', 'boundaries':'open'}" -noise "CVLayer" -noise_args "{'delta':0.09, 'p_swap':0.25}" -decoder "MWPM" -decoder_args "{'weight_opts':{'method':'blueprint', 'integer':False, 'multiplier':1, 'delta':0.09}}" -trials 100
code,distance,ec,boundaries,noise,delta,p_swap,decoder,weight_opts,errors,trials,current_time,simulation_time,mpi_size SurfaceCode,3,primal,open,CVLayer,0.09,0.25,MWPM,{'method': 'blueprint', 'integer': False, 'multiplier': 1, 'delta': 0.09},10,100,00:15:50,0.370795,1
- An example run will be
- Users can now install FlamingPy from
git
withpip
. This also means installing throughpython setup.py egg_info
is now valid. #118 (backward compatible)
Bug fixes
dev_requirements
was updated with the latest version ofdocformatter
to prevent failing unit tests. #116
Improvements
- Cython example code,
cpp_mc_loop.pyx
, and its installation instructions were removed from everywhere as it was unused. New developers can refer to historic commits to help add new Cython files. #119
Documentation changes
give_for_devs.rst
was updated to match the latestdev_requirements
file and deletion of the Cython example. #116, #119
Contributors
This release contains contributions from (in alphabetical order):
Joost Bus, Luis Mantilla, Avhijit Nair, Nariman Saadatmand, smtsjhr, Ilan Tzitrin
See full commit details here.