See for instance numpy/numpy#13797. It might be useful to have a special function for a hermitian transpose, which would be equivalent to conjugate(matrix_transpose(x)).
The other suggestion is a .H operator on matrices. A complication here is that libraries that use views would not be able to make .H a view unless they add a special conjugate-complex dtype. See the discussion at numpy/numpy#13797. (the .H attribute is really the bigger thing here, as it least to more readable code, but if it is added it probably makes sense to also add a corresponding function)
See for instance numpy/numpy#13797. It might be useful to have a special function for a hermitian transpose, which would be equivalent to
conjugate(matrix_transpose(x)).The other suggestion is a
.Hoperator on matrices. A complication here is that libraries that use views would not be able to make.Ha view unless they add a special conjugate-complex dtype. See the discussion at numpy/numpy#13797. (the.Hattribute is really the bigger thing here, as it least to more readable code, but if it is added it probably makes sense to also add a corresponding function)