def METHOD_NAME(
    cls,
    *,
    target_gate=cirq.Y,
    **quregs: Union[Sequence[cirq.Qid], NDArray[cirq.Qid]],  # type: ignore[type-var]
) -> cirq.Operation:
    """Helper constructor to automatically deduce selection_regs attribute."""
    return cls(
        selection_regs=infra.SelectionRegisters(
            [
                infra.SelectionRegister(
                    'selection', len(quregs['selection']), len(quregs['target'])
                )
            ]
        ),
        target_gate=target_gate,
    ).on_registers(**quregs)