Skip to content

v0.12.0 - The Bleeding Lance

Latest
Compare
Choose a tag to compare
@ericbrts ericbrts released this 11 Dec 17:07
fba3acf

New features

Improvements

  • Perceval now supports Python 3.13.
  • PostSelect syntax now supports nested logical expressions of 'and', 'or', 'xor' and 'not' operators.
  • Gate-based circuits to linear optics converters now save heralded photons (by using as many post-selected CNOT as possible).
  • Strong simulation now automatically uses heralds to mask the Fock space when possible, saving computation time and memory.
  • Failed and cancelled jobs may now be programmatically restarted.
  • Barrier components can now be invisible (used only for alignments).
  • Improved circuit rendering.
  • DisplayConfig enabling to select a rendering skin can now be persistent.
  • Modernized some example notebooks.

Bug fixes

  • Tensor product between BasicState and SVDistribution now always succeeds

Other information & known issues

  • Python 3.8 is no longer supported.
  • Perceval is compatible with both numpy versions 1 and 2. However, installing a fresh Perceval, then a dependency requiring numpy<2 may result in a pip conflict. If it happens, try to install them both in a single pip command.
  • You may have to update pip and setuptools to the latest version before installing Perceval in a Python 3.13 virtual environment.

See syntax changes here: https://perceval.quandela.net/docs/v0.12/legacy.html
You can contact us on the Perceval forum