I am new to qutip and I am struggling on the way to create quantum objects with such a shape in a much clever manner:
from qutip import *
object1 = Qobj([[1, 0, 0, 0],
[0, -1, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0])
object2 = Qobj([[0, 0, 0, -1j],
[0, 0, 1j, 0],
[0, 0, 0, 0],
[0, 0, 0, 0])
And so on.
The idea is to do so for all sigma submatrices with liberty on how to build in a nicer way usign sigma 2x2 matrix. Is there a better way to do so? Sincerely, Paul