matrix_element

Model.matrix_element(driving_field_name, state1, state2)

Return the matrix element of the time-independent operator associated with the driving field between two states.

Parameters:
  • driving_field_name (str) – Name of the driving field.

  • state1 (ndarray) – First state.

  • state2 (ndarray) – Second state.

Return type:

complex

Returns:

matrix element (in \(\text{MHz}\))