quantum-compiler / quartz

The Quartz Quantum Compiler
Apache License 2.0
76 stars 19 forks source link

[optimizer] Use gate type instead of pointers when computing the hash value for graphs #154

Closed xumingkuan closed 9 months ago

xumingkuan commented 9 months ago

Closes #153

This PR uses the gate type instead of pointers so that we can compare different graphs generated in different contexts using the hash value.