Seyon Sivarajah

Results 69 issues of Seyon Sivarajah

https://docs.python.org/3/library/collections.abc.html#collections.abc.MutableMapping should makea few methods redundant Or maybe UserDict Or maybe something even closer to what the datastructure actually does.

enhancement

Often users want to write precise target-aware circuits and want the compiler to not modify them, it would be useful to offer this functionality in a composable way. Inspired by...

enhancement

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

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

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

For TypeAliasType support mainly https://github.com/python/mypy/issues/16614

Currently the `Circuit` trait is implemented on anything that implements `HugrView`. That means you can ask for a `CommandIterator` over any Hugr. The logic is that any input linear wires...

enhancement