qudit_sim.HamiltonianBuilder.make_tlist

HamiltonianBuilder.make_tlist(points_per_cycle, num_cycles=None, duration=None, num_points=None, rwa=False, frame=None)

Build a list of time points using the maximum frequency in the Hamiltonian.

If the Hamiltonian is static, uses the maximum level spacing.

Use one of num_cycles, duration, or num_points to specify the total number of time points.

Parameters
  • points_per_cycle (int) – Number of points per cycle at the highest frequency.

  • num_cycles (Optional[int]) – Number of overall cycles.

  • duration (Optional[float]) – Maximum value of the tlist.

  • num_points (Optional[int]) – Total number of time points including 0.

  • rwa (bool) – Whether to use the rotating wave approximation to find the maximum frequency.

  • frame (Union[str, Dict[Hashable, Frame], Sequence[Frame], None]) – If specified, the frame in which to find the maximum frequency.

Return type

numpy.ndarray

Returns

Array of time points.