Skip to content

Release v0.2.0

Compare
Choose a tag to compare
@thisac thisac released this 24 Mar 19:22
· 45 commits to main since this release
ddef9ad

New features since last release

  • Fidelity can now be calculated between two mixed states. (#115)

  • A configurable logger module is added. (#107)

    from mrmustard.logger import create_logger
    
    logger = create_logger(__name__)
    logger.warning("Warning message")

Improvements

  • The tensorflow and torch backend adhere to MathInterface. (#103)

Bug fixes

  • Setting the modes on which detectors and state acts using modes kwarg or __getitem__ give consistent results. (#114)

  • Lists are used instead of generators for indices in fidelity calculations. (#117)

  • A raised KeyboardInterrupt while on a optimization loop now stops the execution of the program. #105

Documentation

Contributors

This release contains contributions from (in alphabetical order):

Sebastián Duque, Theodor Isacsson, Filippo Miatto