Skip to content
Discussion options

You must be logged in to vote

Yeah, that will not finish compiling because the circuit you are trying to build is not expressible over U2Gates alone. QFAST uses a parameterized location gate to "optimize" the placement and parameters of gates. The unitary you are synthesizing still needs to be expressible in the gateset you choose. That's why the PauliGate(2) is the default. It is a universal two-qubit gate, which, on its own, is a universal gate set and can express any unitary. Depending on your goal, there are a few ways to solve your problem. Making some assumptions that you want to synthesize the input circuit into some specific gateset, I recommend checking out the QFAST example. It first uses QFAST to synthesize…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mariagg-quantinuum
Comment options

Answer selected by mariagg-quantinuum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants