Quantum Computing, Microsof, Perceptron, Perceptron Algorithm, Microsoft.
(multi)-controlled Z gates. You can recall that Z gates have the superpower of inverting the sign of qubit in state |1> and leaving qubit |0> as it is. Z(|0>) = |0> and Z(1>) = |-1>. Thus, a multi-controlled Z gate 𝐶𝑝𝑍 flips the sign of the state when all the p qubits are in state |1 >^⊗𝑁(i.e;