Functions to create and modify states
Source create_state.hpp
product
Creates a filled product state.
Parameters
Name | Description | |
---|---|---|
block | block on which the state is defined | |
local_states | local configurations of the product state | |
real | flag whether real state is created |
rand
Create a filled random state with normal distributed coefficients.
Parameters
Name | Description | |
---|---|---|
block | block on which the state is defined | |
real | flag whether real state is created | |
seed | random seed determining the precise random numbers | |
normalized | flag whether the state is normalized |
zeros
Create a filled state with all zero entries.
Parameters
Name | Description | |
---|---|---|
block | block on which the state is defined | |
real | flag whether real state is created | |
n_col | number of columns in the state |
zero
Set all coefficients of a given state to zero.