Somehow, in qutip, I was trying to take the square root of a matrix. So, I was using sqrtm(). I got these, where I wanted to find the square root of the first matrix. This is odd!
Quantum object: dims = [[2, 2, 2], [2, 2, 2]], shape = (8, 8), type = oper, isherm = True
Qobj data =
[[ 0.5 0. 0. 0. 0. 0. 0. 0.5]
[ 0. 0. 0. 0. 0. 0. 0. 0. ]
[ 0. 0. 0. 0. 0. 0. 0. 0. ]
[ 0. 0. 0. 0. 0. 0. 0. 0. ]
[ 0. 0. 0. 0. 0. 0. 0. 0. ]
[ 0. 0. 0. 0. 0. 0. 0. 0. ]
[ 0. 0. 0. 0. 0. 0. 0. 0. ]
[ 0.5 0. 0. 0. 0. 0. 0. 0.5]]
Quantum object: dims = [[2, 2, 2], [2, 2, 2]], shape = (8, 8), type = oper, isherm = True
Qobj data =
[[ 0.50000001 0. 0. 0. 0. 0. 0.
0.49999999]
[ 0. 0. 0. 0. 0. 0. 0.
0. ]
[ 0. 0. 0. 0. 0. 0. 0.
0. ]
[ 0. 0. 0. 0. 0. 0. 0.
0. ]
[ 0. 0. 0. 0. 0. 0. 0.
0. ]
[ 0. 0. 0. 0. 0. 0. 0.
0. ]
[ 0. 0. 0. 0. 0. 0. 0.
0. ]
[ 0.49999999 0. 0. 0. 0. 0. 0.
0.50000001]]