quantum-compiler / quartz

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

[bug] Shift the context when applying xfers #167

Closed xumingkuan closed 6 months ago

xumingkuan commented 6 months ago

Now each GraphXfer object stores src_ctx, dst_ctx, union_ctx so that it can transform a circuit from one context to another.

This PR also allows each parameter to be used multiple times in rotation merging.

It also removes some debug outputs introduced in previous PRs.