C1: T-dagger

Time Limit: 3 seconds

Memory Limit: 512 MiB

Score: 200 points

Problem Statement

Using only Clifford gates and TT gate,

implement an oracle UU satisfying U=TU = T^\dagger on a quantum circuit qc\mathrm{qc} with 11 qubit.

Here, ()(\cdot)^{\dagger} denotes the Hermitian transpose (inverse operation).

Constraints

  • Only Clifford gates and TT gate can be used.
  • For this problem, the .inverse() method cannot be used.
  • The submitted code must follow the specified format:
from qiskit import QuantumCircuit
 
 
def solve() -> QuantumCircuit:
    qc = QuantumCircuit(1)
    # Write your code here:
 
    return qc

Hints

Open

Please sign in to submit your answer.