quairkit.core.state.backend.state_vector¶
The source file of the state_vector backend.
-
class quairkit.core.state.backend.state_vector.PureState(data, sys_dim, system_seq=
None
, probability=None
)¶ The pure state class.
- Parameters:¶
- data : Tensor¶
tensor array in vector representation for quantum pure 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¶
tensor array for state distributions. Defaults to be 1.
Note
The data is stored in the vector-form with shape \((-1, d)\)
- property system_seq : list[int]¶
The system order of this state