seemps.evolution.trotter.Trotter2ndOrder.apply_inplace#

method

Trotter2ndOrder.apply_inplace(state)[source]#

Apply a Trotter 2nd order unitary approximation onto an MPS state.

Parameters:
stateMPS

The state to be evolved.

Returns:
CanonicalMPS

The same state object modified by the unitary, if it was a CanonicalMPS Otherwise a fresh new state evolved.