def fredkin(*, dtype=None):
    """Quantum object representing the Fredkin gate.

    Parameters
    ----------