aliahw67
(Reza rho)
February 8, 2023, 8:25pm
1
I have a 5*5 matrix as follow
its a density matrix of a quantum state. suppose the quantum state is as follow:
|w> = |10000>+|01000>+|00100>+|00010>+|00001>
I want to obtain the partial transpose of the matrix (THE PERES PARTIAL TRANSPOSITION MATRIX)
note: there are 5 partial transpose matrix for a 5*5 matrix. I want all of them.
I don’t know if there is a command in Mathematica for it?
eric3
(Eric Rimbey)
February 8, 2023, 9:25pm
2
I’m guessing that the Transpose function will work (look at the documentation for the various alternate forms), but I don’t know exactly what is meant by “the Peres partial transposition matrix”. If you provided some examples of expected output it would be easier to help you.
mohammadb
(Mohammad Bahrami)
April 29, 2023, 1:44am
3
w = Total[
QuantumState /@ {“10000”, “01000”, “00100”, “00010”, “00001”}];
s = QuantumPartialTranspose[w, {2}];
s[“DensityMatrix”] // MatrixForm
QuantumPartialTranspose[state,{j}] with j the qubit with respect to which you do the partial transpose
Note the density matrix of w is a 2^5x2^5 matrix.