def METHOD_NAME(rt_config):
    c = cirq.Circuit(cirq.CNOT(cirq.LineQubit(0), cirq.LineQubit(1)))
    if rt_config.target_gateset is not None:
        # CNOT = H CZ H
        c = cirq.optimize_for_target_gateset(c, gateset=rt_config.target_gateset)
        assert len(c) == 3