- qspec.simulate.Atom. get_y0 ( ground_state_labels=None )[source]
-
The initial population of the atom with all ground states populated equally.
- Parameters:
-
- ground_state_labelsIterable[str] | str | None
An iterable of labels belonging to ground states. If
None, the label of the first stateAtom.states[0]is used.
- Returns:
-
- y0ndarray
The initial population of the atom.