calc_csd

qdflow.generate.calc_csd(n_dots, physics, V_x, V_y, V_gates, x_dot, y_dot, numerics=None, include_excited=True, include_converged=False, include_current=False)

Calculates a charge-stability diagram, varying plunger voltages on 2 dots and keeping all other gates constant.

Parameters:
  • n_dots (int) – The number of dots in the device.

  • physics (PhysicsParameters) – The physical parameters of the device to simulate.

  • V_x (ndarray[float]) – The possible x- and y-coordinates of the pixels in the diagram.

  • V_y (ndarray[float]) – The possible x- and y-coordinates of the pixels in the diagram.

  • V_gates (ndarray[float]) – An array of length n_dots giving the voltages of each of the plunger gates. This is relevant only for plunger gates whose voltages remain constant over the whole diagram, and it contains values of the constant voltages. For the two plunger gates corresponding to the x- and y-axes (x_dot and y_dot), the value of V_gates is arbitrary.

  • x_dot (int) – An integer between 0 and (n_dots - 1) inclusive, denoting the dot whose gate voltage is plotted on the x-axis.

  • y_dot (int) – An integer between 0 and (n_dots - 1) inclusive, denoting the dot whose gate voltage is plotted on the y-axis.

  • numerics (NumericsParameters | None) – The numeric parameters to be used during the simulation.

  • include_excited (bool) – Whether to include excited state data for applying latching effects.

  • include_converged (bool) – Whether to include data about whether the simulation properly converged at each pixel.

Returns:

A CSDOutput object wrapping the results of the computation.

Return type:

CSDOutput