initial_state
- property SimulationResult.initial_state
Initial state. When set to a new value and the
time_evol_operatoris present, then it updates thetime_evol_state.- Parameters:
initial_state (np.ndarray) – Initial state.
Hint
productstate(),eigenstate(),state()methods of themodelcan be used to set the initial states:>>> result.initial_state = model.state({'e': 0, 'N': 0, 'C': -1/2}, basis = 'eigen')