Skip to content

Release 0.3.0

Latest
Compare
Choose a tag to compare
@josh146 josh146 released this 11 Jul 10:21
· 1 commit to master since this release
b7ebd31

New features

  • Updated to support Strawberry Fields v0.11. As part of these changes:

    • BoseHubbardPropagation and GaussianPropagation operations no longer take a hbar argument; instead, they respect the sf.hbar setting.

    • As part of the latest Strawberry Fields update, backends now perform validation, to ensure all provided operations are valid. As a result, OpenBoson must now register BoseHubbardPropagation on the Fock and TF backends, and GaussianPropagation on all three backends. This is done by appending the name of the two operations to the corresponding CircuitSpecs.decompositions dictionary.

    • Documentation has been updated to match the new user API used in Strawberry Fields v0.11

Improvements

  • Test suite has been ported to PyTest, making it cleaner and easier to develop with.