Release 0.11.1
Improvements
-
Added the
circuit_spec
attribute toBaseBackend
to denote which CircuitSpecs class should be used to validate programs for each backend #125. -
Removed the
return_state
keyword argument fromLocalEngine.run()
. Now no state object is returned ifmodes==[]
. #126
Bug fixes
-
Fixed a typo in the boson sampling tutorial. #133
-
Allows imported Blackbird programs to store
target
options as default run options. During eng.run, if no run options are provided as a keyword argument, the engine will fall back on the run options stored within the program.This fixes a bug where shots specified in Blackbird scripts were not being passed to
eng.run
. #130 -
Removes
ModuleNotFoundError
from the codebase, replacing all occurrences withImportError
. SinceModuleNotFoundError
was only introduced in Python 3.6+, this fixes a bug where Strawberry Fields was not importable on Python 3.5 #124. -
Updates the Chip0 template to use MeasureFock() | [0, 1, 2, 3], which will allow correct fock measurement behaviour when simulated on the Gaussian backend. #124
-
Fixed a bug in the
GraphEmbed
op, which was not correctly determining when a unitary was the identity #128.