guppylang icon indicating copy to clipboard operation
guppylang copied to clipboard

Pythonic quantum-classical programming language

Results 300 guppylang issues
Sort by recently updated
recently updated
newest added

a way to decorate functions indicate that optimisation-by-rewriting shouldn't be done on a function (especially important for quantum functions). This likely needs to translate in to a reserved metadata tag...

enhancement

Replaces the local `RawHugr`. https://pypi.org/project/hugr/ The `quantinuum_hugr` python package version `0.1.0a1` implements the serialization format `v1`, so it may require non-trivial changes here (and an update to the unpublished `0.3.0`...

enhancement

I would like to write a guppy program such as: ``` @guppy.global(float) rot = 1.0 @guppy main() -> float: return rot ``` which compiles to a hugr containing a global...

Should make recursive circuit definitions nicer see: https://arxiv.org/abs/2311.01725

enhancement

Like the one in Q#, for example

enhancement

avoid needless Tag(0, MakeTuple()) calls

enhancement
good first issue

https://github.com/CQCL/guppylang/blob/main/examples/demo.ipynb For example, guppy.compile_module() calls are now required to get hugr

bug
P-high