Skip to content

v0.12.0

Compare
Choose a tag to compare
@hugrbot hugrbot released this 18 Sep 13:26
17678e7

0.12.0 (2024-09-18)

⚠ BREAKING CHANGES

  • Pytket circuits loaded via a py expression no longer take ownership of the passed qubits.
  • Lists and function tensors are no longer available by default. guppylang.enable_experimental_features() must be called before compilation to enable them.
  • The GuppyModule argument is now optional for all decorators and no longer the first positional argument. Removed the explicit module objects builtins, quantum, and angle.
  • quantum_functional is now its own Guppy module and no longer implicitly comes with quantum.
  • Linear function arguments are now borrowed by default; removed the now redundant @inout annotation

Features

  • Add functions to quantum module and make quantum_functional independent (#494) (0b0b1af)
  • Hide lists and function tensors behind experimental flag (#501) (c867f48)
  • Make linear types @inout by default; add @owned annotation (#486) (e900c96)
  • Only lower definitions to Hugr if they are used (#496) (cc2c8a4)
  • Support implicit modules for all decorators and turn builtins into implicit module (#476) (cc8a424)
  • Use inout for pytket circuits (#500) (a980ec2)

Bug Fixes