qudit_sim.HamiltonianBuilder.make_scan
- HamiltonianBuilder.make_scan(scan_type, values, **kwargs)
Build a list of copies of self varied over a single attribute.
The argument
scan_typedetermines which attribute to make variations over. Implemented scan types are -'amplitude': Drive amplitudes. Elements ofvaluesare passed to theamplitudeparameter ofadd_drive. -'frequency': Drive frequencies. Elements ofvaluesare passed to thefrequencyparameter ofadd_drive. -'coupling': Qudit-qudit couplings. Elements ofvaluesare passed to thevalueparameter ofadd_coupling.In all cases, the remaining arguments to the respective functions must be given in the
kwargsof this method.- Parameters
scan_type (
str) –'amplitude','frequency', or'coupling'.values (
Sequence) – A list of values. One copy of self is created for each value.kwargs – Remaining arguments to the function to be called on each copy.
- Return type
List[HamiltonianBuilder]- Returns
A list of copies of self varied over the specified attribute.