Skip to content

Latest commit

 

History

History
347 lines (186 loc) · 24.3 KB

CHANGELOG.md

File metadata and controls

347 lines (186 loc) · 24.3 KB

Changelog

0.13.1 (2024-11-15)

Features

Bug Fixes

0.13.0 (2024-11-12)

⚠ BREAKING CHANGES

  • prelude module renamed to std

Features

Bug Fixes

  • Mock guppy decorator during sphinx builds (#622) (1cccc04)

Documentation

Miscellaneous Chores

Code Refactoring

0.12.2 (2024-10-21)

Features

  • Allow py expressions in type arguments (#515) (b4fae3f)
  • remove python python 3 upper bound (support python 3.13) (#578) (73bb94a), closes #558

Bug Fixes

0.12.1 (2024-09-23)

Features

  • Add Definition.compile producing Hugr Package (#504) (d8c8bec)
  • Add missing tket2 quantum gates, generalise RotationCompile (#510) (18d4b4c)

Miscellaneous Chores

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

0.11.0 (2024-09-11)

⚠ BREAKING CHANGES

  • guppy.take_module renamed to guppy.get_module and no longer removes the module from the state.
  • Quantum operations rx, rz, phased_x, and zz_max use the angle type instead of floats.

Features

Bug Fixes

  • hseries ops use floats instead of angles (#483) (7ed3853), closes #477
  • Keep track of definitions that are implicitly imported (#481) (a89f225), closes #480

0.10.0 (2024-09-11)

⚠ BREAKING CHANGES

  • Bumped the hugr dependency to 0.8.0
  • GuppyModule.load no longer loads the content of modules but instead just brings the name of the module into scope. Use GuppyModule.load_all to get the old behaviour.
  • Removed guppylang.hugr_builder.hugr.Hugr, compiling a module returns a hugr.Package instead.

Features

Bug Fixes

Documentation

  • Update readme, cargo build instead of --extra validation (#471) (c2a4c86)

Miscellaneous Chores

0.9.0 (2024-08-12)

⚠ BREAKING CHANGES

Bug Fixes

0.8.1 (2024-08-08)

Bug Fixes

0.8.0 (2024-07-30)

Features

Bug Fixes

  • Use places in BB signatures for Hugr generation (#342) (48b0e35)

0.7.0 (2024-07-25)

⚠ BREAKING CHANGES

  • qubits are now reset on allocation

Features

  • qubits are now reset on allocation, and dirty_qubit added (#325) (4a9e205)
  • Allow access to struct fields and mutation of linear ones (#295) (6698b75), closes #293
  • Allow redefinition of names in guppy modules (#326) (314409c), closes #307

Bug Fixes

  • Use correct hook for error printing inside jupyter notebooks (#324) (bfdb003), closes #323

0.6.2 (2024-07-10)

Features

  • update to hugr-python 0.4 (af770c3)

0.6.1 (2024-07-09)

Features

0.6.0 (2024-07-02)

Features

Bug Fixes

0.5.2 (2024-06-13)

Bug Fixes

0.5.1 (2024-06-12)

Bug Fixes

0.5.0 (2024-06-10)

Features

0.4.0 (2024-05-30)

Features

0.3.0 (2024-05-22)

Features

Bug Fixes

  • Consider type when deciding whether to pack up returns (#212) (4f24a07)
  • Mypy tket2 error (#220) (7ad3908)
  • Only use path when determining equality of implicit modules (#216) (6f47d4b)
  • Serialisation of float values (#219) (937260a), closes #218

Documentation

0.2.0 (2024-04-11)

⚠ BREAKING CHANGES

  • Make qubit type lower case (#165)

Features

Bug Fixes

Documentation

  • add reference to runner to readme (#129) (45c2bf0)
  • Add short description and simplify readme for pypi (#136) (667bba3)

Code Refactoring

Continuous Integration

  • Use release-please bootstrap's default config (#187) (72e666a)

First release of Guppy! 🐟

This is an alpha release that implements basic language features and compilation to hugr v0.1.