Quanlse/QOperator.py
def dagger(matrix: ndarray) -> ndarray:
    """
    Return the conjugate transpose of a given matrix.

    :param matrix: the given matrix
    :return: the conjugate transposed matrix
    """
    return array(conjugate(transpose(matrix)), order="C")

    Return the conjugate transpose of a given matrix.

    :param matrix: the given matrix
    :return: the conjugate transposed matrix
    
Return the conjugate transpose of a given matrix.
Return the conjugate transpose of a given matrix .
def dagger(matrix: ndarray) -> ndarray:
    return array(conjugate(transpose(matrix)), order="C")
def dagger ( matrix : ndarray ) -> ndarray : return array ( conjugate ( transpose ( matrix ) ) , order = "C" )
Return the conjugate transpose of a given matrix.
Return the conjugate transpose of a given matrix .
"""
    Return the conjugate transpose of a given matrix.

    :param matrix: the given matrix
    :return: the conjugate transposed matrix
    """
the conjugate transposed matrix
the conjugate transposed matrix
matrix
ndarray
the given matrix
the given matrix