Skip to content

Releases: Quantinuum/guppylang

guppylang 1.1.2

Choose a tag to compare

@hugrbot hugrbot released this 30 Sep 09:49
3e0ac63

Bug Fixes

  • Bad span in diagnostic when missing a return in a walrus loop condition (#2380)(da8668b)
  • Calling generic functions inside a with control flow failed to compile (#2379)(fd78419)
  • Local variables being shadowed by global definitions (#2378)(d253322)

guppylang 1.0.5

Choose a tag to compare

@hugrbot hugrbot released this 30 Sep 15:33
5d9e3e9

Bug Fixes

  • Local variables being shadowed by global definitions (#2386)(379cfdd)

guppylang-internals 1.1.2

Choose a tag to compare

@hugrbot hugrbot released this 30 Sep 09:49
3e0ac63

Bug Fixes

  • Bad span for missing return diagnostic with walrus loop condition (#2380)(da8668b)
  • Clear stale inout flags on copyable generic captures (#2379)(fd78419)
  • Local variables being shadowed by global definitions (#2378)(d253322)

guppylang-internals 1.0.5

Choose a tag to compare

@hugrbot hugrbot released this 30 Sep 15:32
5d9e3e9

Bug Fixes

  • Local variables being shadowed by global definitions (#2386)(379cfdd)

guppylang 1.1.1

Choose a tag to compare

@hugrbot hugrbot released this 14 Sep 13:59
7aa4c22

Bug Fixes

  • Compilation error with classical array.take (#2330)(c33a3bd)
  • Hide trace in @guppy.unitary decorator error (#2325)(97a3463)
  • Reject unsupported statements in @guppy.unitary classes (#2312)(7d91c17)

Features

guppylang-internals 1.1.1

Choose a tag to compare

@hugrbot hugrbot released this 14 Sep 13:59
7aa4c22

Bug Fixes

  • Controlled implementation signature check is not more order-sensitive (#2326)(997c555)
  • Reject unsupported statements in @guppy.unitary classes (#2312)(7d91c17)

guppylang 1.1.0-rc0

guppylang 1.1.0-rc0 Pre-release
Pre-release

Choose a tag to compare

@hugrbot hugrbot released this 09 Sep 10:31
5f06a44

Note: With #2294 we have raised the minimum supported version of the selene-hugr-qis-compiler to v0.5.0, which has
changed the default seeding behaviour and may result in different outputs. Pass mode=legacy when building the emulator
to restore the original seeding behaviour.

Bug Fixes

  • Order RNG context lifetimes with effects (#2234)(790bbd3)
  • Unsupported inheritance error for guppy-defined bases (#2211)(5fb7ce4)

Documentation

  • More specific std.qsystem documentation including ion identity (#2105)(91eeb62)
  • Document expected qubits in emulator API (#2099)(d182404)

Features

  • Compilation for custom modifier implementations (#2274)(79478f3)
  • Enable panic stack traces in the emulator (#2271)(38538ff)
  • Upgrade to qis-compiler v0.5.0 and selene-sim v0.3.1 (#2294)(c698034)
  • Support static methods on types (#1699)(702bcb0)
  • Analyse call graph and use it to infer effects to reduce order edges (#2035)(58b8e28)
  • Checking for custom modifier implementations (#2192)(b96b18f)
  • Allow default running optimization level without pytket (#2246)(1f76a78)
  • Add traces and metrics to EmulatorResult (#2233)(6965a57)
  • Add @inline decorator (#1976)(0f79ee4)
  • Add target platform configuration for optimizer and emulator (#2180)(20a7af6)
  • Add Range.__reversed__ and panic on range step=0 (#2092)(801aa64)
  • Make __truediv__ daggerable (#2176)(edd3417)
  • Add optional debug_mode argument to compile and emulator (#2126)(bb886d2)
  • Add in-place array reverse (#1949)(6433f28)

guppylang-internals 1.1.0-rc0

Pre-release

Choose a tag to compare

@hugrbot hugrbot released this 09 Sep 10:30
5f06a44

Bug Fixes

  • Add correct location debug info to calls inside comptime functions (#2229)(4bfd142)
  • Check+trace more functions before compilation starts (#2210)(f98a63c)
  • Unsupported inheritance error for guppy-defined bases (#2211)(5fb7ce4)
  • Add debug info to nested function definitions (#2112)(2bca2da)
  • Don't emit coercion hint for temporary variables (#2025)(75ed748)

Code Refactoring

  • Enforce barrier between checking and compilation stages (#2224)(a018d8c)
  • Extract stringifiers for internal definitions (#2243)(805644d)
  • Update codebase to python 3.12 (#1991)(d6ef163)
  • Split unification of consts into a separate function (#2219)(0606a79)
  • Reduce verbosity of unitary checker (#2223)(c7692f9)
  • Remove redundant checks for function type unitary flags (#2203)(4f47823)
  • Do tracing during checking (#2104)(28fffa6)
  • Remove EXTENSION_OPS_WITH_SIDE_EFFECTS, pass effects alongside DataflowOp (#2024)(47205e9)
  • Remove inheritance of CompiledCallableDef from CallableDef (#2037)(c8fa3b4)
  • Remove ProtocolCall (#2034)(218651f)

Features

  • Compilation for custom modifier implementations (#2274)(79478f3)
  • Support static methods on types (#1699)(702bcb0)
  • Analyse call graph and use it to infer effects to reduce order edges (#2035)(58b8e28)
  • Checking custom modifiers (#2192)(b96b18f)
  • Better Error when calling method on Struct class (#2093)(ed54651)
  • Add @inline decorator (#1976)(0f79ee4)
  • Add better error message for distinct nested functions. (#2208)(2c32ca6)
  • Support for GPU modules (#1854)(df1bd0c)
  • Add error message for missing self args (#2188)(08de37a)
  • Add target platform configuration for optimizer and emulator (#2180)(20a7af6)
  • Add optional debug_mode argument to compile and emulator (#2126)(bb886d2)
  • Add quantum pass to default opt level (#2063)(2970cb5)

guppylang 1.0.4

Choose a tag to compare

@hugrbot hugrbot released this 08 Sep 15:51
e646989

Bug Fixes

  • Round floats with a tie-break to even instead of away from zero (#2293)(1da77fa)

Performance Improvements

  • Upgrade hugr to v0.18.6, tket to v0.15.8, qis-compiler to v0.4.3 (#2289)(0345e72)

guppylang-internals 1.0.4

Choose a tag to compare

@hugrbot hugrbot released this 08 Sep 15:51
e646989

Performance Improvements

  • Upgrade hugr to v0.18.6, tket to v0.15.8, qis-compiler to v0.4.3 (#2289)(0345e72)