A6: Zeta / Moebius Transform I

Time Limit: 3 sec

Memory Limit: 512 MiB

Score: 200

Problem Statement

Implement a quantum circuit qc\mathrm{qc} with 22 qubits that simultaneously realizes the following state transitions.

00qc13(00+0111)10qc13(00+10+11)\begin{align} \ket {00} \xrightarrow{\mathrm{qc}} \frac{1}{\sqrt 3}(\ket{00} + \ket {01} - \ket {11}) \nonumber \\ \ket {10} \xrightarrow{\mathrm{qc}} \frac{1}{\sqrt 3}(\ket{00} + \ket {10} + \ket {11}) \nonumber \end{align}

Constraints

  • Global phase is ignored in judge.
  • The submitted code must follow the specified format:
from qiskit import QuantumCircuit
 
 
def solve() -> QuantumCircuit:
    qc = QuantumCircuit(2)
    # Write your code here:
 
    return qc

Please sign in to submit your answer.