Modular HUGRs #82
Closed
aborgna-q
started this conversation in
Specification
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We should allow non-
ModuleRoot
as roots of the HUGR.This makes them much more composable, and we wouldn't have to define full modules for e.g. replacement graphs.
I think it would mostly incur removing references to the module root;
https://github.com/CQCL-DEV/hugr/blob/e6178ffba838bc6ee22829ed384bfa8086481e27/specification/hugr.md?plain=1#L134-L141
This interacts with #74, as non-local constants still need to go on the global module.
Beta Was this translation helpful? Give feedback.
All reactions