Problem Statement
Using only Clifford gates, gate, and gate,
implement an oracle satisfying the following on a quantum circuit with qubits.
For any quantum state ,
Here, denotes the controlled- gate with qubit as the control qubit and qubit as the target qubit.
Constraints
- Only Clifford gates, gate, and gate can be used.
- The submitted code must follow the specified format:
from qiskit import QuantumCircuit
def solve() -> QuantumCircuit:
qc = QuantumCircuit(3)
# Write your code here:
return qcHints
Open
- simply means applying to .