is_transition

qdflow.physics.simulation.is_transition(dot_charges_1, are_dots_combined_1, dot_charges_2, are_dots_combined_2)

Determines if a transition occured between two points.

Parameters:
  • dot_charges_1 (ndarray[int]) – An array with length n_dots indicating how many electrons are in each dot at the first point. In the case of combined dots, the total number of charges should be entered in the left-most slot, with the other slots padded with zeros.

  • are_dots_combined_1 (ndarray[bool]) – An array with length n_dots-1, indicating whether the dots on either side of each barrier are combined together at the first point.

  • dot_charges_2 (ndarray[int]) – An array with length n_dots indicating how many electrons are in each dot at the second point. In the case of combined dots, the total number of charges should be entered in the left-most slot, with the other slots padded with zeros.

  • are_dots_combined_2 (ndarray[bool]) – An array with length n_dots-1, indicating whether the dots on either side of each barrier are combined together at the second point.

Returns:

  • is_transition (ndarray[bool]) – An array with length n_dots indicating whether a transition occured a particular dot.

  • is_transition_combined (ndarray[bool]) – An array with length n_dots-1 indicating whether dots on either side of a particular barrier are combined together AND a transition occured in the combined dot.