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