Julien Gacon

Results 166 comments of Julien Gacon

In `QAOAAnsatz`, the parameters in the mixer circuit are getting reparameterized. For example if I defined a mixer with 2 free parameters, each layer would have new parameters `β[2*layer] β[2*layer...

Ugh that's again a limitation of the commutation checker which doesn't know how to handle the `PauliGate` graciously and tries to compute commutations via matrix multiplication. We have the same...

The suggestions just postpones the problem and doesn't fix it; we'll run into the same problem once the gate gets larger. The right way to fix this is to implement...

Sure go ahead @debasmita2102, note though that we probably only want to do the standard gate to generator (aka RX to X) mapping if checking commutation with a Pauli-based gate,...

Labeling this for 2.4 for now, but do we still want this? The PR this was based on has been closed and I'm unsure if how much the original issue...

@Mostafa-Atallah2020 FYI you don't have to keep merging from main, the bot will automatically update on approval. We actually prefer _not_ updating manually since that triggers CI and consumes resources...

Let's re-evaluate for 2.4 if we still need this or if the problem has since been fixed in other restructures.

Sure, go ahead! Feel free to ask questions if you have any 🙂

The example above is just a minimal example to trigger the bug. It's not necessarily a realistic use case, it's only helping to understand what's going wrong with a minimal...

As discussed offline let's try skip the failing test until https://github.com/python/cpython/pull/140559 & co are resolved, rather than not testing on latest Python. We'll target this for after rc1 though.