Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2025/ii/paper-4/10c/a/solution

Apply a Hadamard gate to Alice's qubit, followed by a controlled-NOT gate from Alice to Bob and another from Alice to Charlie:
Thus this circuit gives the required quantum circuit preparation of a three-qubit GHZ state.

New to topics? Read the docs here!