CircuitHash is already implemented for HugrViews with a dataflow-container root. It should be easy to expand it to arbitrary hugrs (and rename it to HugrHash).
https://github.com/CQCL/tket2/blob/main/tket/src/circuit/hash.rs
CircuitHashis already implemented forHugrViews with a dataflow-container root. It should be easy to expand it to arbitrary hugrs (and rename it toHugrHash).https://github.com/CQCL/tket2/blob/main/tket/src/circuit/hash.rs