You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Replaces the `HierarchyView` bound in `Circuit` with `HugrView` (from
CQCL/hugr#498), which is implemented by
`Hugr`.
- This simplifies the tests, where we don't need to wrap `Hugr`s
anymore.
- We still need a lifetime for the Commands iterator, so
`Circuit::Comands` now has a generic lifetime.
- Uses the new `PetgraphWrapper` when needed instead of requiring
Petgraph traits on everything.
- This lets us drop the lifetime from `Circuit<'a>`.
Closes#84.
~Blocked by CQCL/hugr#498
Currently to manipulate a
Hugr
as a `Circuit, we have to explicitly create a sibling view:We do this everywhere for the test, and probably users will too. It'd be nice to have a helper method on the circuit module for this.
The text was updated successfully, but these errors were encountered: