calc_effective_peak_matrix

qdflow.physics.simulation.calc_effective_peak_matrix(gate_param_list)

Calculates a correction matrix for gate potentials due to induced charges.

gate_param_list contains the physical parameters defining each of the gates, including for each gate, the value of the potential peak that would be measured at the nanowire in the absense of all other gates.

However, when more than one gate are brought close together, the electric field from one gate induces charge on the other gates. The effect of the induced charge on each gate is approximated by defining an “effective peak” as a linear combination of each of the original gate peaks.

Specifically, the effective peak of each gate is given as np.dot(effective_peak_matrix, gate_peaks).

This function calculates effective_peak_matrix from the geometry of the gates. See arXiv:2509.13298 for more details.

Parameters:

gate_param_list (list[GateParameters]) – The set of parameters defining each of the gates

Returns:

A matrix with shape (num_gates, num_gates) which can be used to determine corrections to the potential contributions from each of the gates due to induced charges.

Return type:

ndarray[float]