Problem Statement
Using only Clifford gates and gate,
implement an oracle satisfying on a quantum circuit with qubits.
Here, denotes the doubly-controlled gate with qubit 3 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(3)
# Write your code here:
return qc