Matrix Realignment Method for Calculating the Partial Transposes and the Partial Traces of Density Matrices | IEEE Conference Publication | IEEE Xplore