We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
https://github.com/mit-han-lab/torchquantum/blob/c8a1ab64e2c0e9a6b570e2307e5ad10a5560f2b1/torchquantum/functional/gate_wrapper.py LIne 301
""" Compute \rho U^\dagger """ matdag = torch.conj(mat) matdag = matdag.type(C_DTYPE).to(density.device)
maybe matdag = torch.conj(mat) is not $U^\dagger$.
matdag = torch.conj(mat)