Qualtran icon indicating copy to clipboard operation
Qualtran copied to clipboard

support for multiple toffoli gate decompositions

Open alexandrupaler opened this issue 2 years ago • 2 comments

There are various (relative phase) Toffoli gate decompositions, each having its own advantage with respect to (at least) quantum arithmetic [1]. It would be great if Qualtran would support various Toffoli decompositions.

[1] https://arxiv.org/pdf/2101.04764.pdf

alexandrupaler avatar Feb 01 '24 19:02 alexandrupaler

Thanks for flagging this. I know @NoureldinYosri has thought about the best way to toggle between different decompositions.

mpharrigan avatar Feb 07 '24 18:02 mpharrigan

In the standard library of bloqs, we're going to make toffoli a "leaf bloq" #873 , but these circuits can be added as additional information. And there's been a long-time discussion about whether we need different toffolis for if one does or does not care about phases

mpharrigan avatar Aug 08 '24 16:08 mpharrigan