Of course, we could have just done the algebra for the whole 3-qubit system up front. It's really not very complicated, & that's how I've always done it in the past. But I noticed this approach a few hours ago, & rather like it. It's in some sense longer, but more elegant.
Put another way: in the circuit I'm analyzing, Q is the _control_ (not target) for a CNOT, before being measured in the X basis.
-
-
Bah, sorry. I was thinking in terms of the CNOT in the original swap circuit, which is how I see this Hadamard+MeasureZ+ClassicalControlledZ coming into being ( https://algassert.com/post/1628 ). You're right it doesn't quite apply here in an intuitive way.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.