|q⟩
Bad Qubits
Play
Quest
Questions
Learn
Playground
☕
← Question Bank
Multiple choice
On a CZ-native device you must re-express CX(0->1) using only CZ and single-qubit gates. Using the identity
H
Z
H
=
X
H Z H = X
H
Z
H
=
X
, which sequence implements CX(0->1) (control 0, target 1)?
h(0); h(1); cz(0,1)
h(0); cz(0,1); h(0)
h(1); cz(0,1); h(1)
cz(0,1) alone, with no Hadamards
Check answer