Calculates the unitary time-evolution operators for a system defined by a piecewise-constant
hamiltonian (Pwc) – The control Hamiltonian, or batch of control Hamiltonians.
sample_times (np.ndarray(1D, real)) – The N times at which you want to sample the unitaries. Must be ordered and contain
at least one element.
name (str, optional) – The name of the node.
Tensor of shape […, N, D, D], representing the unitary time evolution.
The n-th element (along the -3 dimension) represents the unitary (or batch of unitaries)
from t = 0 to sample_times[n].
Evolve a quantum state.
Corresponding operation for Stf Hamiltonians.