GHZ preparation with Hadamard and controlled-Z gates

ID: ghz-preparation-with-hadamard-and-controlled-z-gates

For , apply a Hadamard gate to one qubit, then controlled-NOTs from it to all others. Replacing each controlled-NOT gate by a target Hadamard, a Controlled-Z gate, and another target Hadamard uses allowed gates. Each one-qubit reduced state is , proving entanglement across each qubit-versus-rest bipartition.

New to topics? Read the docs here!