quairkit.core.state.backend.density_matrix¶
The source file of the density_matrix backend.
-
class quairkit.core.state.backend.density_matrix.MixedState(data, sys_dim, system_seq=
None
, probability=None
)¶ The mixed state class.
- Parameters:¶
- data : Tensor¶
tensor array (in density matrix representation) for quantum mixed state(s).
- sys_dim : List[int]¶
a list of dimensions for each system.
- system_seq : List[int] | None¶
the system order of this state. Defaults to be from 1 to n.
- probability : List[Tensor] | None¶
list of state probability distributions. Defaults to be 1.
Note
The data is stored in the matrix-form with shape \((-1, d, d)\)
- property system_seq : list[int]¶
The system order of this state