github XanaduAI/blackbird v0.4.0
Release 0.4.0

latest release: v0.5.0
3 years ago

Improvements

  • Remove support for Python 3.5. (#38)

  • Add support for Python 3.8 and 3.9. (#40)

  • Add public method to retrieve Blackbird program variables via prog.variables. (#47)

  • Improve match_template to automatically return matched parameters with their array values,
    rather than their array names (p0, p1, etc.) (#47)

  • Remove p-type parameters from prog.parameters since they're only needed there internally and
    are otherwise stored in prog.variables. This also changes TDM programs to not be templates
    (prog.is_template now returns False). (#47)

Bug fixes

  • Fix bool or string objects in for-loop iterators not working correctly. (#41)

  • Update the NumPy scalar types in the Blackbird listener due to being deprecated in NumPy 1.20. (#43)

  • Add access to the symbolic expression used when creating a RegRefTransform,
    as a class attribute. (#46)

Contributors

This release contains contributions from (in alphabetical order):

Theodor Isacsson

Don't miss a new blackbird release

NewReleases is sending notifications on new releases.