initial_state

property SimulationResult.initial_state

Initial state. When set to a new value and the time_evol_operator is present, then it updates the time_evol_state.

Parameters:

initial_state (np.ndarray) – Initial state.

Hint

productstate(), eigenstate(), state() methods of the model can be used to set the initial states:

>>> result.initial_state = model.state({'e': 0, 'N': 0, 'C': -1/2}, basis = 'eigen')