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

    Parameters
    ----------