Quantum circuit preparation of a three-qubit GHZ state (source code)

= Quantum circuit preparation of a three-qubit GHZ state

Starting from $|000\rangle$, apply a Hadamard gate to the first qubit and then controlled-NOT gates from the first qubit to each of the other two qubits.