BasisState
Represents a quantum product state \vert s_1s_2...s_n\rangle.
Symbols
| Name | Description |
|---|---|
[] | Retrieves the state value at a specified site . |
Members
| Name | Description |
|---|---|
| coefficient | Retrieves the coefficient of the basis state. |
| get_state | Retrieves the state value at a specified site . |
| is_ket_equal | Checks if two product states have the same ket configuration. |
| num_sites | Returns the number of sites in the basis state. |
| set_coefficient | Sets the real coefficient of the product state. |
| set_num_sites | Changes the number of sites on which the product state has support. |
| set_state | Sets the local state at a specific site. |