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