원시데이터 수집 시스템
선정목록으로

QArray: A GPU-accelerated constant capacitance model simulator for large quantum dot arrays

관련 필름·전자재료 · (11) 배리어 필름

기본 정보

저자
  1. Barnaby van Straaten — University of Oxford
  2. Joseph Hickie — University of Oxford
  3. Lucas Schorling — University of Oxford
  4. Jonas Schuff — University of Oxford
  5. Federico Fedele — University of Oxford
  6. Natalia Ares — University of Oxford
DOI
10.21468/scipostphyscodeb.35
저널
SciPost Physics Codebases
발행년도
2024
발행기관
Stichting SciPost
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.21468/scipostphyscodeb.35
토픽
Semiconductor Quantum Structures and Devices
OpenAlex ID
W4403608624

평가 내용

관련도
관련
사업분야
필름·전자재료 · (11) 배리어 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 배리어 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Semiconductor quantum dot arrays are a leading architecture for the development of quantum technologies. Over the years, the constant capacitance model has served as a fundamental framework for simulating, understanding, and navigating the charge stability diagrams of small quantum dot arrays. However, while the size of the arrays keeps growing, solving the constant capacitance model becomes computationally prohibitive. This paper presents an open-source software package able to compute a 100 × 100 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:mn>100</mml:mn><mml:mo>×</mml:mo><mml:mn>100</mml:mn></mml:mrow></mml:math> pixels charge stability diagram of a 16-dot array in less than a second. Smaller arrays can be simulated in milliseconds - faster than they could be measured experimentally, enabling the creation of diverse datasets for training machine learning models and the creation of digital twins that can interface with quantum dot devices in real-time. Our software package implements its core functionalities in the systems programming language Rust and the high-performance numerical computing library JAX. The Rust implementation benefits from advanced optimisations and parallelisation, enabling the users to take full advantage of multi-core processors. The JAX implementation allows for GPU acceleration.

본문 78,827자

본문 펼치기
QArray: a GPU-accelerated constant capacitance model simulator for large quantum dot arrays Barnaby van Straaten, <sup>1,</sup> <sup>_∗_</sup> Joseph Hickie, <sup>1</sup> Lucas Schorling, <sup>2</sup> Jonas Schuff, <sup>1</sup> Federico Fedele, <sup>2</sup> and Natalia Ares <sup>2,</sup> <sup>_†_</sup> 1 _Department_ _of_ _Materials,_ _University_ _of_ _Oxford,_ _Oxford_ _OX1_ _3PH,_ _United_ _Kingdom_ 2 _Department_ _of_ _Engineering,_ _University_ _of_ _Oxford,_ _Oxford_ _OX1_ _3PH,_ _United_ _Kingdom_ (Dated: April 9, 2024) Semiconductor quantum dot arrays are a leading architecture for the development of quantum technologies. Over the years, the constant capacitance model has served as a fundamental framework for simulating, understanding, and navigating the charge stability diagrams of small quantum dot arrays. However, while the size of the arrays keeps growing, solving the constant capacitance model becomes computationally prohibitive. This paper presents an open-source software package able to compute a 100 _×_ 100 pixels charge stability diagram of a 16-dot array in less than a second. Smaller arrays can be simulated in milliseconds - faster than they could be measured experimentally, enabling the creation of diverse datasets for training machine learning models and the creation of digital twins that can interface with quantum dot devices in real-time. Our software package implements its core functionalities in the systems programming language Rust and the high-performance numerical computing library JAX. The Rust implementation benefits from advanced optimisations and parallelisation, enabling the users to take full advantage of multi-core processors. The JAX implementation allows for GPU acceleration. I. INTRODUCTION Semiconductor quantum dot arrays are one of the leading platforms for the realisation of large-scale quantum circuits. As they grow in size and complexity, these arrays present exciting opportunities and significant challenges. In particular, efficient simulation tools are becoming increasingly crucial for tuning and practical experimental design. The constant capacitance model is a widely-used equivalent circuit framework that models the electrostatic characteristics of quantum dot arrays [1–7]. This model has proven to be a valuable resource for gaining insights into charge stability diagrams and for training neural networks for automated tuning strategies [2, 5, 8–11]. However, it encounters scaling limitations, making the simulations of arrays larger than four dots slow and impractical. Specifically, the problem of computing the lowest energy charge configuration in a brute force manner, as implemented in Refs. [2, 8], scales with ( _n_ max +1) <sup>_n_</sup> <sup>dot</sup>, where _n_ max _≥_ 1 is the maximum number of charges considered at any of the quantum dots, and _n_ dot is the number of quantum dots being simulated. We introduce `QArray`, an open-source software package for ultra-fast constant capacitance modelling, opening the path to the creation of ever larger datasets for neural network training, as well as the realisation of digitial twins, the use of machine-learning-informed tuning strategies, and the use of these simulators for tuning and characterisation in real-time. Our package contains two new algorithms to compute the ground state charge configuration, which we call `QArray` default and thresholded. _∗_ [barnaby.vanstraaten@kellogg.ox.ac.uk](mailto:barnaby.vanstraaten@kellogg.ox.ac.uk) _†_ [natalia.ares@eng.ox.ac.uk](mailto:natalia.ares@eng.ox.ac.uk) These algorithms greatly reduce the number of calculations needed to find the ground state charge configuration by computing the energies of only the most likely, rather than the full, set of possible configurations. Our default algorithm’s complexity scales with 2 <sup>_n_</sup> <sup>dot</sup> . The thresholded algorithm sacrifices some accuracy to further reduce the number of charge states considered to (1 + _t_ ) <sup>_n_</sup> <sup>dot</sup>, where _t_ _∈_ [0 _,_ 1] is a threshold defining which charge states must be considered and which can be neglected. Both our algorithms considerably reduce computational time, especially for larger arrays containing more charges. For example, our default algorithm, in the case of a five-dot array containing five charges, reduces the number of change states considered by at least 243 times compared to a brute-force approach. Within `QArray`, the brute-force approach and our default algorithm are implemented in Python, Rust and JAX. The threshold algorithm is implemented in Python and Rust. The Rust implementations are optimised for parallel computation on a CPU, using `rayon` [12–14]. At the same time, a GPU can accelerate the JAX implementations through just-in-time (jit) XLA compilation [15]. The Python implementations offer no practical advantages over the ones in Rust or JAX but are maintained for benchmarking and comparison testing. The Rust and JAX implementations of our algorithms can model arrays with 16 or more dots in seconds and simulate the charge stability diagrams of smaller arrays in milliseconds. The following section details the matrix formulation of the constant capacitance model. In Section III, we discuss our algorithms and how they compute the charge ground state in both open and closed quantum dot arrays. Then, Section IV covers how realistic features can be incorporated into the simulation and some useful analytical results. Section V provides a step-by-step example of using our software package to simulate a double quantum dot and demonstrates that `Qarray` can be used to recreate experimentally measured charge stability diagrams of open quadruple dot and closed five dot arrays. In Section VI, we discuss the details of our software implementations and how we optimised for speed. Finally, in Section VII, we benchmark our implementations of each algorithm. II. THE CONSTANT CAPACITANCE MODEL The constant capacitance model describes an array of quantum dots and their associated electrostatic gates as nodes in a network of fixed capacitors [1–7]. Each node _i_ has an associated charge _Qi_, an electrostatic potential _Vj_, and its capacitive coupling to every other node _k_ given by _Cjk_ . The capacitor _Cij_ stores a charge _qij_ := _Cij_ ( _Vi−Vj_ ). The total charge on node _i_ is therefore related to its and other nodes’ potentials according to _N_ <sup>_∗_</sup> = arg min _N_ _∈N_ (i) The number of charges must be integers, repre sented as _⃗N_ _∈_ Z <sup>_n_</sup> <sup>dot</sup> . (ii) The number of charges on any given quantum dot must be non-negative, meaning _Ni_ _≥_ 0 for all _i_ . For a closed quantum dot array, i.e. when the leads are decoupled from the array, and the number of charges is fixed to a finite value _N_ <sup>ˆ</sup> [16, 17] (see Fig. 1 (d)), we impose the additional constraint: (iii) The sum of all charges in the array must equal _N_ <sup>ˆ</sup> . At _T_ = 0 K, the system will adopt the charge state, _N_ <sup>_∗_</sup>, which minimises the free energy whilst obeying the appropriate constraints, such that _F_ ( _⃗N_ ; _⃗Vg_ ) _,_ (5) _j_ _Cij_ ( _Vi −_ _Vj_ ) _._ (1) _Qi_ = _j_ _qij_ = Using the Maxwell matrix formulation, we express this as _⃗Q_ = c _⃗V_, where c is the Maxwell capacitance matrix. In this framework, the c matrix’s diagonal elements give each node’s total capacitance, and the off-diagonal elements are the negative of the capacitive coupling between the respective nodes. We now distinguish between quantum dots and electrostatic gate nodes by separating the matrix equation into - _Qd_ _Qg_ = - c _dd_ c _gd_ c _dg_ c _gg_ �� _Vd_ _Vg_ _,_ (2) where _N_ is the set of all admissible charge configurations for the open or closed regimes of the quantum dot arrays. Due to the constraints, finding the lowest energy charge configuration is an example of a class of optimisation problems called constrained convex quadratic integer problems, also called Mixed-Integer Quadratic Programming (MIQP) problems, which are NP-hard [18–20]. By computing the ground state charge configuration as a function of the gate voltages, the constant capacitance model captures the charge stability diagrams of such quantum dot arrays when the tunnel couplings between quantum dots are weak. In the following section, we discuss our algorithms for computing the charge configuration ground state. III. THE QARRAY ALGORITHMS The `QArray` -default and thresholded algorithms can be broken down into two stages. First, we neglect the integer charge constraint, (i), and compute the continuouslyvalued charge state that minimises the free energy. We will refer to this state as the continuous minimum. In the second stage, we reintroduce the integer charge constraint by evaluating the energy of each discrete charge state that neighbours the continuous minimum and selecting the state with the lowest energy (Fig. 2 (a)). The `QArray` -default and thresholded algorithms differ in which charge states they define as neighbouring the continuous minimum. The thresholded algorithm is much more selective (Sec. III B, Fig. 2 (b)). We formally justify considering only the nearest neighbouring discrete charge states in Appendix E. The fundamental idea is that the free energy is a convex function minimised at the continuous minimum. Therefore, the lowest-energy discrete charge states must lie close to the continuous minimum. In the next section (Sec. III A), we will discuss how the continuous minimum is computed for both open and where _⃗Qd_ ( _g_ ) represents the charge on the quantum dots (gates) and _⃗Vd_ ( _g_ ) denotes the potential on the quantum dots (gates). And the matrices _cdd_, _cgd_, _cdg_, _cgg_ encode dot-dot, gate-dot, dot-gate and gate-gate capacitive couplings, respectively, in the Maxwell format. The potential on the quantum dots can then be computed by _Vd_ = c <sup>_−_</sup> _dd_ <sup>1(</sup> <sup>_⃗Qd −_</sup> <sup>c</sup> <sup>_gd⃗Vg_</sup> <sup>)</sup> <sup>_._</sup> (3) The free energy of the system can then be written as _F_ ( _⃗Qd_ ; _⃗Vg_ ) = <sup><u>1</u></sup> 2 _⃗_ <sup>_−_</sup> _dd_ <sup>1</sup> <sup>_Qd −_</sup> <sup>(</sup> <sup>c</sup> <sup>_−_</sup> _dd_ <sup>1</sup> 2 <sup><u>1</u></sup> _⃗_ <sup>_Q_</sup> _d_ <sup>_T_</sup> <sup>c</sup> <sup>_−_</sup> _dd_ <sup>1</sup> <sup>_−_</sup> _dd_ <sup>1</sup> <sup>c</sup> <sup>_gd⃗Vg_</sup> <sup>)</sup> <sup>_T⃗Qd,_</sup> (4) where we have dropped the terms without dependence on _⃗Qd_ . This free energy function is convex since c _dd_ is positive definite (for proof, see Appendix B). Since the charge on the gates is not of interest, in the remainder of this paper, we drop the subscript and refer to the charge on the quantum dots as _⃗Q_ . The allowed charge states _⃗Q_ = _±e⃗N_ (for holes and electrons respectively) are heavily constrained in a quantum dot array. In particular, for an open quantum dot array, i.e. when the array is coupled to fermionic reservoirs from which it can draw an arbitrary number of charges (see Fig. 1 (c)), the constraints are: <u>Vg1</u> Vg1 a) b) Inputs Algorithms nmax Capacitance DotArray Matrices c) Computed in Python Compted in Rust d) Accelerated by JAX Outputs Optional Brute-force QArray-default Rust QArray-thresholded Rust ndots ngates Gate Voltage Composer Temperature Threshold Figure 1. (a) Schematic of a generic array of quantum dots: The diagram illustrates the representation of a quantum dot device as a system of capacitively coupled electrostatic gates and quantum dots. Solid black lines represent the direct dot-to-gates couplings, while capacitors representing the interdot capacitance are modelled with grey lines respectively. From the choice of the capacitance matrix (stored in the DotArray class), the user can define an array with an arbitrary number of dots and geometry. For given gate voltages, a discrete integer number of charges minimises the system’s free energy. (b) The structure of the Qarray package featuring the multiple software implementations, represented as colour-coded boxes denoting Python (blue), Rust (yellow), and JAX (green), of the brute-force, default and thresholded algorithms. The gate voltage composer class generates voltage vectors for native sweeps (e.g., _Vg_ 1 against _Vg_ 2), or it can be used to define arbitrary virtual gate sweeps. DotArray offers methods for computing charge stability diagrams for open or closed regimes with any core choice. Optionally, the charge stability diagram can be coupled with simulated charge sensors to model their response. (c) Charge stability diagrams (computed with our default algorithm implemented in Rust) for a hole-based linear array of four quantum dots in the open regime. The black lines denote transitions separating regions in the charge stability diagram with a fixed dot occupation. (d) Charge stability diagrams (computed with our default algorithm implemented in Rust) for the same linear four-dot array of quantum dots in the closed regime where the total number of charges in the array is fixed to four. closed arrays, then how the default and thresholded algorithms find the discrete charge state lowest in energy from the nearest neighbours to the continuous minimum (Sec. III B). A. Computing the continuous minimum To compute the continuous minimum charge configuration for both open and closed quantum dot arrays, we initially try the analytical solution for the charge configuration derived by neglecting constraints that the charge state must take integer, non-negative values, i.e. constraints (i) and (ii) respectively. If this solution satisfies constraint (ii), such that no dot contains a negative number of charges, we accept it and use it. Otherwise, we compute a solution using a numerical solver, which explicitly applies constraint (ii). We try the analytical solution before resorting to the numerical solver because it is inexpensive to compute compared to the solver, and trying it first offers an overall time advantage. _1._ _The_ _analytical_ _solutions_ The continuous minimum for an open quantum dot array is _Q_ <sup>_∗_</sup> <sup>cont</sup> <sup>open</sup> = c _gd⃗Vg,_ (6) see Appendix C for a formal derivation. For closed quantum dot arrays, we use Lagrangian multipliers to account for the fixed number of charges in the array (imposed by constraint (iii)). As derived in Ap <mark>0</mark> <mark>.18</mark> <mark>0</mark> <mark>0.4</mark> <u>F(N) (a. u.)</u> b) <u>F(N) (a. u.)</u> vex quadratic optimisation problem. The general form of these problems is minimise _⃗x_ <sup>_T_</sup> M _⃗x_ + _⃗v_ <sup>_T⃗_</sup> _x_ subject to _⃗l ≤_ A _⃗x ≤⃗u._ (8) <mark>0</mark> <mark>.18</mark> a) <u>F(N) (a. u.)</u> b) 3 2 2 1 In our case M = c <sup>_−_</sup> _dd_ <sup>1</sup> <sup>_−_</sup> _dd_ <sup>1</sup> <sup>and</sup> <sup>_⃗v_</sup> <sup>=</sup> <sup>_−_</sup> <sup>c</sup> <sup>_−_</sup> _dd_ <sup>1</sup> 1/3 0 0 1 2 3 1 1 2 N1 N1 Figure 2. (a) Diagram depicting the default algorithm applied to an open double dot. The algorithm first finds the continuous minimum (marked with a red cross), which minimises the free energy. The free energy landscape, as a function of the charge on each dot, is shown with contour lines. After computing the continuous minimum, the algorithm evaluates the nearest neighbour discrete charge states (marked as red dots) to determine which is lowest in energy. By comparison, the brute force implementation considers all charge states, leading to it also having to consider the charge states marked as black dots. In this case, (1, 2) is the discrete charge state lowest in energy. (b) Diagram depicting the thresholded algorithm applied to an open double dot. The algorithm computes the continuous minimum (red cross) as in the default algorithm. However, rather than just considering all nearest neighbour discrete charge states, thresholding is used to reduce further the number of charge states needing to be evaluated compared to the default version of the algorithm. As the continuous minimum does not lie within the vertical grey rectangle, for which the width equals the threshold _t_ = 1 _/_ 3, it is unnecessary to consider both the floor and ceiling values for _N_ 1. Instead, it can be rounded down. By contrast, the continuous minimum does lie in the horizontal rectangle, so both floor and ceiling values for _N_ 2 must be considered. The discrete charge states, considered by the thresholded algorithm, are shown as red dots. pendix D, the continuous solution can therefore be written as In our case M = c <sup>_−_</sup> _dd_ <sup>1</sup> <sup>and</sup> <sup>_⃗v_</sup> <sup>=</sup> <sup>_−_</sup> <sup>c</sup> <sup>_−_</sup> _dd_ <sup>1</sup> <sup>c</sup> <sup>_gd⃗Vg_</sup> <sup>.</sup> <sup>Constraint</sup> (ii) can be encoded in this form by setting the constraint matrix A to the identity, and the lower and upper bound vectors ( _⃗l_ and _⃗u_ ) to vectors of all zeros and infinities, respectively. For a closed array, constraint (iii) can be encoded by setting the constraint matrix as a row matrix with all terms equal to one and upper and lower bound vectors as single value elements equal to _N_ <sup>ˆ</sup> . Combining constraints for open and closed quantum dot arrays involves concatenating the associated constraint matrix and bound vectors. B. Evaluation of the nearest neighbour discrete charge states With the continuous minimum in hand, the `QArray` algorithms iterate over the nearest neighbouring discrete charge states to find which one is the lowest in energy. The algorithms differ in how they define the nearest neighbouring discrete charge states. In the following subsection, we discuss precisely which charge states default and thresholded algorithms iterate over. _1._ _The_ _default_ _algorithm_ The default algorithm will consider all the different charge configurations obtained by the element-wise flooring and ceiling of the values in the continuous minimum. Therefore, the default algorithm iterates over all 2 <sup>_n_</sup> <sup>dot</sup> possible ways of rounding the elements of the continuous minimum up or down to the nearest integer. The charge states considered by the default algorithm when computing the lowest energy charge state of a double dot are highlighted in red in Fig. 2 (a). This considerably reduces the number of charge states that need to be considered compared to the brute force approach. As mentioned previously, we formally justify considering only the neighbouring discrete charge states in Appendix E. If the quantum dot array is closed, we eliminate the configurations that lead to the wrong number of charges in the array. _2._ _The_ _thresholded_ _algorithm_ The motivation behind the thresholded algorithm was the observation that it was sometimes unnecessary to consider every one of the 2 <sup>_n_</sup> <sup>dot</sup> possible charge combinations. Only if the decimal part of each element of - <u>c</u> _<u>dd⃗</u>_ <u>1</u> _,_ (7) 1 <sup>_T_</sup> c _dd⃗_ 1 _Q_ <sup>_∗_</sup> <sup>cont</sup> <sup>closed</sup> = c _gd⃗Vg_ + - _Q_ ˆ _−⃗_ 1 <sup>_T_</sup> c _gd⃗Vg_ where _⃗_ 1 = (1 _,_ 1 _, . . .,_ 1) <sup>_T_</sup> _∈_ R <sup>_n_</sup> <sup>dot</sup> is the one vector and _Q_ <sup>ˆ</sup> is the confined charge. In both the open and closed cases, one or more of the elements of _⃗Q_ <sup>_∗_</sup> <sup>cont</sup> <sup>open/closed</sup> may correspond to a negative number of electrons/holes. As mentioned before, if this occurs, we must fall back on the numerical solver to implicitly apply the constraint. The numerical solver is discussed next. _2._ _The_ _numerical_ _solver_ The numerical solver computes the continuous minimum for open and closed dot arrays as a constrained con the continuous minimum charge state, _⃗N_ <sup>_∗_</sup> <sup>cont</sup>, is close to 1 _/_ 2 should we consider both charge configurations obtained by rounding up and down to the nearest integer. Otherwise, we can round to the closest charge configuration. As an example, the charge states considered by the thresholding algorithm when computing the lowest energy charge state of a double dot, with a threshold of 1 _/_ 3, are highlighted in red in Fig. 2 (b)). If we define the threshold as _t_ _∈_ [0 _,_ 1], then the condition for having to consider both the floor and ceiling charge configurations on the _i_ th quantum dot is (5) with a soft arg min function, which computes a Boltzmann weighted sum of the applicable charge states, such that _N_ <sup>_∗_</sup> = soft arg min _N_ _∈N_ _F_ ( _⃗N_ ; _⃗Vg_ ), where - _⃗_ _<u>N⃗</u>_ <sup>_N_</sup> <sup>exp[</sup> <sup>_−F_</sup> <sup>(</sup> <sup>_⃗N_</sup> <sup>)</sup> <sup>_/kBT_</sup> <sup>]</sup> <u>�</u> _N_ <sup>exp[</sup> <sup>_−F_</sup> <sup>(</sup> <sup>_⃗N_</sup> <sup>)</sup> <sup>_/kBT_</sup> <sup>]</sup> soft arg min _N_ _F_ ( _⃗N_ ) = _._ (10) ��frac[ _Ni ∗_ cont] _−_ 1 _/_ 2 �� _≤_ _t/_ 2 _._ (9) The summation runs over all the allowed charge configurations. For a closed array, this means eliminating the charge states with the total number of charges different than _N_ <sup>ˆ</sup> . C. Optimal gate voltages and virtual gates In developing `QArray`, we derived and implemented analytical results that help navigate charge stability diagrams. This section lists them. _Optimal_ _gate_ _voltages_ : the gate voltages that minimise the charge state _⃗Qd_ ’s free energy, _F_ ( _⃗Vg,⃗Qd_ ) is _V_ <sup>_∗_</sup> = ( Rc _gd_ ) <sup>+</sup> R _⃗Qd,_ (11) where R <sup>_T_</sup> R = c <sup>_−_</sup> <sup>1</sup> _dd_ <sup>is</sup> <sup>the</sup> <sup>Cholesky</sup> <sup>factorisation</sup> <sup>and</sup> <sup>+</sup> denotes the Moore-Penrose pseudo inverse. The proof of this result is presented in Appendix H. _Optimal_ _virtual_ _gate_ _matrix_ : the optimal virtual gate matrix, _α_, used to construct virtual gates is _α_ = ( c _gd_ c <sup>_−_</sup> _dd_ <sup>1)+</sup> <sup>_,_</sup> (12) where _i_ th row of this matrix encodes the electrostatic gate voltages required to change the _i_ th dot’s potential. The proof of this result is presented in Appendix I V. EXAMPLES In this section, we explain the usage of `QArray` to produce the stability diagram of a double quantum dot. Firstly, we import the `DotArray` and `GateComposer` classes as follows, 1 <mark>`from`</mark> <mark>`qarray`</mark> <mark>`import`</mark> <mark>`(DotArray,`</mark> ``` GateVoltageComposer ) ``` 2 <mark>`import`</mark> <mark>`numpy`</mark> <mark>`as`</mark> <mark>`np`</mark> Upon initialising the `DotArray` class, we specify the system’s capacitance matrices, charge carriers, and the computational core, as shown below. The temperature parameter ( _T_ ) can be used to incorporate the effect of thermal broadening. In the example below we set it to zero, ensuring that the solver determines the charge state that minimises the free energy as specified in Eq. (5). The total number of charge states needed to be evaluated after the thresholding scales with ( _t_ + 1) <sup>_n_</sup> <sup>dot</sup> (see Appendix G for deviation). When considering closed arrays, we found that applying the threshold may produce no charge states with the correct number of charges. In this case, we double the threshold and recompute. This threshold is left to the user’s discretion; however, in Appendix F, we try to motivate a good choice of threshold. IV. ADDITIONAL FUNCTIONALITY This section discusses features of `QArray` that are adjoint to the main algorithms. In particular, how we simulated charge sensing measurements (Sec. IV A) and thermal broadening (Sec. IV B), and present analytical results regarding optimal choice of gate voltages and virtual gates (Sec. IV C). A. Charge sensors To simulate charge sensing measurements, we compute the charge state, _⃗N_ <sup>_∗_</sup>, of non-charge sensing dots, neglecting the existence of the charge sensing dots but accounting for cross-talk due to the charge sensor gates. Fixing the non-charge sensing dot charges, we compute the number of carriers required to minimise each charge sensor’s electrostatic energy. From here, we calculate the charge sensors’ potential using this charge state, according to Eq. (3). Finally, we compute the charge sensor’s response based on Lorentzian or an approximately Gaussian profile in the weak and strong coupling regimes, respectively [21]. This method recreates a Coulomb peak sensitivity profile, whilst white, 1 _/f_, and sensor jump noise can be added on top [11]. B. Thermal Broadening For a finite temperature, the quantum dot system will not adopt the lowest energy charge state. This can be accounted for by replacing the arg min function in Eq. 1 1 <mark>`#`</mark> <mark>`Initalising`</mark> <mark>`the`</mark> <mark>`DotArray`</mark> <mark>`class`</mark> 2 <mark>`model`</mark> <mark>`=`</mark> <mark>`DotArray(`</mark> 3 <mark>`cdd =[`</mark> 4 <mark>`[`</mark> <mark>`1 .3,`</mark> <mark>`-0 .1 ],`</mark> 5 <mark>`[-`</mark> <mark>`0 .1,`</mark> <mark>`1 .3 ]`</mark> 6 <mark>`],`</mark> 7 <mark>`cgd =[`</mark> 8 <mark>`[`</mark> <mark>`1`</mark> <mark>`.,`</mark> <mark>`0 .2 ],`</mark> 9 <mark>`[`</mark> <mark>`0 .2,`</mark> <mark>`1`</mark> <mark>`]`</mark> 10 <mark>`],`</mark> 11 <mark>`algorithm`</mark> <mark>`=`</mark> <mark>`"default"`</mark> 12 <mark>`implementation`</mark> <mark>`=`</mark> <mark>`"rust"`</mark> 13 <mark>`charge_carrier`</mark> <mark>`=`</mark> <mark>`"holes"`</mark> 14 <mark>`T`</mark> <mark>`=`</mark> <mark>`0 .0`</mark> 15 <mark>`)`</mark> In this example, we input the capacitance matrices in the Maxwell format. The software also accepts inputs in the form of dot-dot and gate-dot capacitive couplings using the keyword arguments `Cdd` and `Cgd` (with an upper case "C"). During initialisation, the input parameters are checked by the `pydantic` library [22]. This validation process checks the correctness of the capacitance array introduced by the user. This includes verifying that the values passed for c _dd_ are of the correct type and that the matrix possesses the correct shape, is positive definite, and is symmetric. The `GateVoltageComposer` class has several methods for creating gate voltage arrays. The most general is `meshgrid`, as shown below, which mirrors `numpy` in constructing a dense array of gate voltages to sweep over. In this way, it is possible to simulate _N_ -dimensional charge stability diagrams. 1 <mark>`voltage_composer`</mark> <mark>`=`</mark> <mark>`GateVoltageComposer (`</mark> 2 <mark>`n_gate=model.n_gate`</mark> 3 <mark>`)`</mark> 4 <mark>`Vx`</mark> <mark>`=`</mark> <mark>`np.linspace(-`</mark> <mark>`3`</mark> <mark>`,`</mark> <mark>`3`</mark> <mark>`,`</mark> <mark>`100`</mark> <mark>`)`</mark> 5 <mark>`Vy`</mark> <mark>`=`</mark> <mark>`np.linspace(-`</mark> <mark>`3`</mark> <mark>`,`</mark> <mark>`3`</mark> <mark>`,`</mark> <mark>`100`</mark> <mark>`)`</mark> 6 <mark>`#`</mark> <mark>`Constructing`</mark> <mark>`the`</mark> <mark>`gate`</mark> <mark>`voltage`</mark> <mark>`array`</mark> <mark>`for`</mark> 7 <mark>`#`</mark> <mark>`the`</mark> <mark>`2`</mark> <mark>`D`</mark> <mark>`raster`</mark> <mark>`sweep`</mark> 8 <mark>`vg`</mark> <mark>`=`</mark> <mark>`voltage_composer .meshgrid(`</mark> 9 <mark>`gates =(`</mark> <mark>`0`</mark> <mark>`,`</mark> <mark>`1`</mark> <mark>`),`</mark> <mark>`arrays =[Vx,`</mark> <mark>`Vy]`</mark> 10 <mark>`)`</mark> We also implement `do1d` and `do2d` methods for generating one-dimensional and two-dimensional gate voltage arrays, which wrap `meshgrid` . These methods are based on the QCoDeS routines of the same names and take the same arguments. With these classes initialised, we can generate a stability diagram of the system in an open configuration using the `DotArray` model’s `ground_state_open` method. The `ground_state_closed` method takes a second argument, `n_charges`, which sets the number of charges in the system. In the following, we set this value to two, `n_open` and `n_closed` are thus `(100,` `100,` `2)` `numpy` arrays, such the ground state charge configuration at the corresponding gate voltages is contained in the last dimension. 1 <mark>`#`</mark> <mark>`calculate`</mark> <mark>`the`</mark> <mark>`occupation`</mark> <mark>`of`</mark> <mark>`each`</mark> <mark>`dot`</mark> 2 <mark>`n_open`</mark> <mark>`=`</mark> <mark>`model. ground_state_open (vg)`</mark> 3 <mark>`n_closed`</mark> <mark>`=`</mark> <mark>`model. ground_state_closed (vg,`</mark> <mark>`2`</mark> <mark>`)`</mark> a) ∂Vrf / ∂VP1 -0.6 1 b) Figure 3. (a) Adaptation of Fig. 2b from Ref. [23] showing a stability diagram of a linear quadruple quantum dot array in the open regime. This is measured as a function of the two outermost plunger gates voltages, _V_ P1 and _V_ P4. The colour scale represents the derivative of the sensor signal _V_ rf with respect to _V_ P1. (b) A recreation of Fig. 2b from Ref. [23], simulated using QArray. The colour scale represents the derivative of the simulated sensor signal, _V_ sens, with respect to _V_ P1. (c) Adaptation of Fig. 3a from Ref. [24] showing the stability diagram of a five-electron configuration corresponding to a five-dot cross-geometry array. The colour scale represents the sum of current changes in all charge sensors ( <sup>�</sup> _∇i_ qpc) as a function of virtual gates _δVX_ <sup>_−_</sup> <sup>(controlling the left-right detun-</sup> ings) and _δVY_ <sup>_−_</sup> <sup>(controlling</sup> <sup>the</sup> <sup>top-bottom</sup> <sup>detunings).</sup> <sup>(d)</sup> <sup>A</sup> recreation of Fig. 3a from [24] using QArray. The colour scale represents the derivative of the simulated sensor signal, in this case _V_ qpc, with respect to _δVY_ <sup>_−_</sup> <sup>.</sup> <sup>To</sup> <sup>simulate</sup> <sup>the</sup> <sup>sensing</sup> <sup>of</sup> <sup>a</sup> qpc instead of a sensor dot, we considered only a single gate for the sensor dot architecture and replaced the Lorentzian shape response with a linear function. A. Realistic simulations Beyond simply computing idealised charge stability diagrams `QArray` can simulate the response from a charge sensor and account for the thermal broadening of charge transitions, as explained in Section IV. Combined, these two capabilities make it possible to generate simulations of stability diagrams that look considerably closer to experimental data. Figure 3 (a) shows a charge sensor measurement of a charge stability diagram of an open quadruple dot presented in Ref. [23]. In Fig. 3 (b), we simulate this measurement using `QArray` with a 200 _×_ 200 pixels resolution. Likewise, Fig. 3 (c) shows a measurement ∂Vrf / ∂VP1 -0.6 1 b) ∂Vsens / ∂VP1 -0.6 1 -60 -100 -140 -160 -120 -80 VP1 (mV) c) d) Σ ∇ iqpc (a.u.) 50 0 -50 0 0 1 VP1 (a.u.) ∂Vqpc /∂(δVY-) 1 -50 0 X- (mV) δVX 50 0 0 1 - (a.u.) δVX from Ref. [24] of a stability diagram corresponding to a five-electron closed configuration within a five-dot crossgeometry array. In Fig. 3 (d), we simulate this measurement with a resolution of 400 _×_ 400 pixels. We achieved a very good qualitative agreement between both measurements and our simulations. Discrepancies are mainly due to the fact that the constant capacitance model does not capture the curvature of charge transitions; in this model, couplings between dots are kept constant for all gate voltage ranges. The code to recreate the simulations displayed in Fig. 3 (b) and (d) is provided as examples within the `QArray` package. We used the Rust implementation of the default algorithm for both reconstructions, but we could have used any algorithm implementation. The compute times are listed in Appendix K. As a figure of merit, the Rust implementation of the default algorithm took 0.1 and 0.7s for the open and closed arrays, respectively. All implementations of all algorithms in the package produce identical plots. VI. IMPLEMENTATIONS Within `QArray`, the brute-force approach and our default algorithm are implemented in Python, Rust and JAX. The threshold algorithm is implemented in Python and Rust. The Rust and JAX implementations fulfil different use cases. The Rust implementations are optimised for computation on a CPU, while a GPU can accelerate the JAX based implementations. The Python implementation does not provide a practical advantage over the Rust and JAX cores, but it is retained for benchmarking purposes (see Fig. 4(a-b)). In this section, we discuss these different implementations in detail. _The_ _Rust_ _implementations_ : Rust is a systems programming language on par with `c` in speed [13, 25, 26]. Our Rust implementations take advantage of parallelism when sensible, based on workload at runtime, thanks to the functionality provided by `rayon` [13, 14, 25, 26]. In addition, we used caching and function memorisation to avoid reevaluating the discrete charge state configurations for which the free energy is evaluated. However, appreciating that Rust is a relatively niche language compared to the ubiquitousness of Python, we interloped the Rust core with Python. This allows the user to gain all the benefits of Rust in their familiar Python coding environment. _The_ _JAX_ _implementations_ : JAX is a Python-based machine learning framework that combines autograd and XLA (accelerated linear algebra). Its structure and workflow mirror that of `numpy` ; however, at run time, the code can be just in time ( `jit` ) compiled and auto-vectorised to primitive operations for significant performance improvements. Through the `vmap` function, JAX will compile the functions to XLA and execute them in parallel with a GPU [15]. Unfortunately, the discrete nature of the constant capacitance model negates the possibility of using JAX’s autograd capabilities. In addition, as the sizes of all arrays must be known at just-in-time compile time, the JAX implementation of our algorithm cannot perform the thresholding algorithm. _The numerical solver_ : We made use of the OSQP (Operator Splitting Quadratic Program) solver instead of relying on those available in `scipy.optimize` [27]. The OSQP solver is optimised explicitly for constrained convex quadratic problems [28]. OSQP is an incredibly efficient solver; only one matrix factorisation is required to setup the optimisation problem after which all operations are cheap, such that there is no need to perform any slow division operations. As such, we found the OSQP solver faster at converging than the `scipy` implementations. It is important to note that in `QArray` we set the unit charge, _|e|_ = 1, to avoid issues with numerical stability. The units of free energy are thus electron volts, and the units of our temperature parameter are Kelvin. VII. BENCHMARKS We benchmark the performance of each of the algorithms within `QArray` for all the different implementations discussed. In order to do this, we generate a random _C_ matrix by drawing each element from a uniform distribution. This randomised matrix is converted to the Maxwell format. We then compute the ground state charge configuration over a set of 100 _×_ 100 randomly chosen gate voltage configurations and record the average computation time. For all the implementations of the brute-force and default algorithm, we show the average compute time over many benchmarking runs executed on both the CPU within the Apple M1 Pro System on Chip (SOC) and an NVIDIA GTX 1080TI GPU (Fig. 4 (a-b)). As anticipated, the default version of the algorithm exhibits superior scalability compared to the brute force approach, resulting in notably shallower performance curves. Compared to the brute force method, for arrays with more than five dots, the Rust and JAX implementations of the default algorithm are at least one order of magnitude faster and gain more time advantage as the number of dots increases. Even the Python implementation becomes faster than the GPU-accelerated brute force method for arrays with more than six quantum dots. Still, it remains several orders of magnitude slower than the Rust and JAX implementations due to the speed gained by the parallelisation and the GPU usage offered by these cores. On the CPU, our Rust and JAX cores demonstrate approximately equal performances for open dot arrays. However, for closed dot arrays, the Rust core leverages optimisations that confer enhanced performance in the simulation of large arrays. Nevertheless, the advantage of these optimisations is eclipsed by the raw computational power harnessed by the JAX core when executed on the GPU. The GPU-accelerated JAX algorithm can compute the charge stability diagram of a (a) (b) <u>Open</u> <u>Closed</u> Figure 4. (a-b) Average computation time required by each core to generate 100 _×_ 100 pixels charge stability diagrams. Simulations are performed for randomly chosen capacitance matrices and gate voltage configurations, and correspond to increasing sizes of both open (top) and closed (bottom) arrays. We ran the JAX and brute force cores on both a CPU and a GPU. For the closed quantum dot arrays, the number of confined electrons/holes matches the number of quantum dots within the array. 16-dot array featuring 100 _×_ 100 gate voltage pixels in less than a second for both open and closed configurations. In Fig. 5 (a-b), we compare several runs obtained with the Rust implementation of the thresholding algorithm using different values of _t_ for open and closed regimes. As expected, smaller threshold values result in faster computation, especially in larger arrays. The Rust thresholded algorithm running on a CPU was faster than the JAX implementation on a GPU for _t <_ 2 _/_ 3. We also note larger time gains in the open dots configuration compared to the closed case. This difference arises because when simulating quantum dot arrays in the closed regime, the threshold strategy may fail if no charge state configurations with the correct number of charges are found. In this case, the algorithm doubles the threshold value and recomputes the stability diagram. While this method ensures a correct stability diagram is generated, the additional computational overhead leads to smaller time gains than in the open dot case. Whilst decreasing the _t_ values yields dramatic performance gains, it should not be reduced below certain values in order to avoid artefacts in the simulated charge stability diagrams (see Appendix J). The minimum threshold that can be set without introducing artefacts depends on the c <sup>_−_</sup> _dd_ <sup>1</sup> <sup>capacitance matrix.</sup> <sup>See Appendix E and F for</sup> a detailed discussion. In a few words, we have found that the minimum threshold is of the order of the ratio of the largest off-diagonal element of the c _dd_ capacitance matrix to its corresponding diagonal element. Given that the diagonal elements are the dot’s total capacitive coupling to every other dot and gate, whilst the off-diagonal elements are dot-dot couplings, we find the critical threshold to be much smaller than one in the case of weakly coupled dots, the approximation under which the capacitance model is justified. We note that these benchmarks, based on randomised gate voltages and capacitance matrices, might underestimate the potential of the thresholded algorithm. In tuning larger quantum dot arrays, virtual gates are often used to control isolated double dot subsystems whilst the other dots remain unperturbed (the _n_ + 1 method [29]). In this case, the threshold algorithm could neglect the charge states corresponding to the other dots. Therefore, the time required to simulate a large array operated in this way would be comparable to simulating a double dot device. VIII. SUMMARY AND OUTLOOK We demonstrated that our open-source software package can accelerate the simulation of charge stability diagrams of large quantum dot arrays in both open and closed regimes. The speed and GPU acceleration will aid in generating larger, more diverse datasets on which to train neural networks. This will improve the accuracy of the neural network-based classifiers used in automatic tuning approaches. With improved intuition about the charge stability diagrams, new tuning methods might be developed. In particular, the automated tuning of closed arrays could be drastically easier than for open arrays owing to the smaller number of transitions. The speed of our algorithms is particularly promising for model-based machine-learning methods and real-time interfacing with experiments, as well as for the development of hardwarein-the-loop approaches. In future, we hope that, with help from the wider community, this package can grow to include more advanced noise models and high-level functionality. In the immediate future, more advanced algorithms could be implemented to solve constrained integer convex quadratic problems, in particular, either the `SCIP` or the `miOSQP` solver [30–32]. These algorithms can scale even better than the thresholded algorithm. However, parallelisation and GPU acceleration will probably not be possible, so we expect our algorithms to be faster for all but Open Closed Figure 5. (a-b) Average computation time required by the Rust core to generate a 100 _×_ 100 pixels charge stability diagram computed with different threshold values for increasing numbers of quantum dots both for open and closed quantum dot arrays. the largest arrays. Finally, as the main contribution of `QArray` is in the backend, we hope that it can be used as such with application-specific user-friendly interfaces built on top. [1] van der Wiel, W. G. _et_ _al._ Electron transport through double quantum dots. _Rev._ _Mod._ _Phys._ 75, 1– 22 (2002). URL `[https://link.aps.org/doi/10.1103/](https://link.aps.org/doi/10.1103/RevModPhys.75.1)` `[RevModPhys.75.1](https://link.aps.org/doi/10.1103/RevModPhys.75.1)` . [2] Zwolak, J. P., Kalantre, S. S., Wu, X., Ragole, S. & Taylor, J. M. Qflow lite dataset: A machine-learning approach to the charge states in quantum dot experiments. _PLOS_ _ONE_ 13, 1–17 (2018). URL `[https:](https://doi.org/10.1371/journal.pone.0205844)` `[//doi.org/10.1371/journal.pone.0205844](https://doi.org/10.1371/journal.pone.0205844)` . [3] Schröer, D. _et_ _al._ Electrostatically defined serial triple quantum dot charged with few electrons. _Phys._ _Rev._ _B_ 76, 075306 (2007). URL `[https://link.aps.org/doi/](https://link.aps.org/doi/10.1103/PhysRevB.76.075306)` `[10.1103/PhysRevB.76.075306](https://link.aps.org/doi/10.1103/PhysRevB.76.075306)` . [4] Van Houten, H., Beenakker, C. & Staring, A. Coulomb blockade oscillations in semiconductor nanostructures. _arXiv_ _preprint_ _cond-mat/0508454_ (2005). [5] Oakes, G. A. _et_ _al._ Automatic virtual voltage extraction of a 2x2 array of quantum dots with machine learning (2021). 2012.03685. CODE AVAILABILITY The code is available on the Python package index under `[qarray](https://pypi.org/project/qarray/)`, so is pip installable with the command `pip` `install` `qarray` . The associated GitHub repositories are `[https://github.com/b-vanstraaten/qarray](https://github.com/b-vanstraaten/qarray)` . [Please star the repository and cite this paper if this pack-](https://github.com/b-vanstraaten/qarray/stargazers) age is useful. Discovered bugs can be reported using the GitHub issue [tracker.](https://github.com/b-vanstraaten/qarray/issues) AUTHOR CONTRIBUTIONS B.v.S. wrote the code. B.v.S. and J.D.H wrote the documentation. B.v.S. and L.S. developed the mathematical proofs and derived the analytical results. B.v.S., J.D.H. and N.A. conceived of creating an open-source capacitance model software package. All authors contributed to the manuscript. ACKNOWLEDGEMENTS This work was supported by the Royal Society, the EPSRC Platform Grant (EP/R029229/1), and the European Research Council (Grant agreement 948932). COMPETING INTERESTS Natalia Ares declares a competing interest as a founder of QuantrolOx, which develops machine learning-based software for quantum control. [6] Ihn, T. _Semiconductor_ _Nanostructures:_ _Quantum_ _states_ _and_ _electronic_ _transport_ (Oxford University Press, 2009). URL `[https://doi.org/10.1093/acprof:oso/](https://doi.org/10.1093/acprof:oso/9780199534425.001.0001)` `[9780199534425.001.0001](https://doi.org/10.1093/acprof:oso/9780199534425.001.0001)` . [7] Yang, S., Wang, X. & Das Sarma, S. Generic hubbard model description of semiconductor quantum-dot spin qubits. _Phys._ _Rev._ _B_ 83, 161301 (2011). URL `[https:](https://link.aps.org/doi/10.1103/PhysRevB.83.161301)` `[//link.aps.org/doi/10.1103/PhysRevB.83.161301](https://link.aps.org/doi/10.1103/PhysRevB.83.161301)` . [8] URL `[https://qtt.readthedocs.io/en/latest/](https://qtt.readthedocs.io/en/latest/)` . [9] Zwolak, J. P. _et_ _al._ Autotuning of Double-Dot Devices In Situ with Machine Learning. _Physical_ _Review_ _Applied_ 13 (2020). URL `[http://dx.doi.org/10.1103/](http://dx.doi.org/10.1103/PhysRevApplied.13.034075)` `[PhysRevApplied.13.034075](http://dx.doi.org/10.1103/PhysRevApplied.13.034075)` . [10] Liu, H. _et_ _al._ An automated approach for consecutive tuning of quantum dot arrays. _Applied_ _Physics_ _Let-_ _ters_ 121 (2022). URL `[http://dx.doi.org/10.1063/5.](http://dx.doi.org/10.1063/5.0111128)` `[0111128](http://dx.doi.org/10.1063/5.0111128)` . [11] Ziegler, J. _et_ _al._ Toward robust autotuning of noisy quantum dot devices. _Phys._ _Rev._ _Appl._ 17, 024069 (2022). URL `[https://link.aps.org/doi/10.1103/](https://link.aps.org/doi/10.1103/PhysRevApplied.17.024069)` `[PhysRevApplied.17.024069](https://link.aps.org/doi/10.1103/PhysRevApplied.17.024069)` . [12] Matsakis, N. D. & Klock II, F. S. The rust language. In _ACM_ _SIGAda_ _Ada_ _Letters_, vol. 34, 103–104 (ACM, 2014). [13] Costanzo, M., Rucci, E., Naiouf, M. & Giusti, A. D. Performance vs programming effort between rust and c on multicore architectures: Case study in n-body (2021). 2107.11912. [14] Rayon-Rs. Rayon-rs/rayon: Rayon: A data parallelism library for rust. URL `[https://github.com/rayon-rs/](https://github.com/rayon-rs/rayon)` `[rayon](https://github.com/rayon-rs/rayon)` . [15] Sabne, A. Xla: Compiling machine learning for peak performance. _Google_ _Res_ (2020). [16] Flentje, H. _et_ _al._ A linear triple quantum dot system in isolated configuration. _Applied_ _Physics_ _Letters_ 110, 233101 (2017). URL `[https://doi.org/10.](https://doi.org/10.1063/1.4984745)` `[1063/1.4984745](https://doi.org/10.1063/1.4984745)` . https://pubs.aip.org/aip/apl/articlepdf/doi/10.1063/1.4984745/14499801/233101_1_online.pdf. [17] Bertrand, B. _et_ _al._ Quantum manipulation of twoelectron spin states in isolated double quantum dots. _Phys._ _Rev._ _Lett._ 115, 096801 (2015). URL `[https://](https://link.aps.org/doi/10.1103/PhysRevLett.115.096801)` `[link.aps.org/doi/10.1103/PhysRevLett.115.096801](https://link.aps.org/doi/10.1103/PhysRevLett.115.096801)` . [18] Park, J. & Boyd, S. A semidefinite programming method for integer convex quadratic minimization. _Optimization_ _Letters_ 12, 499–518 (2017). URL `[https://doi.org/10.](https://doi.org/10.1007%2Fs11590-017-1132-y)` `[1007%2Fs11590-017-1132-y](https://doi.org/10.1007%2Fs11590-017-1132-y)` . [19] Buchheim, C., Caprara, A. & Lodi, A. An effective branch-and-bound algorithm for convex quadratic integer programming. vol. 135, 285–298 (2010). [20] Bliek, C., Bonami, P. & Lodi, A. Solving mixedinteger quadratic programming problems with ibmcplex : a progress report (2014). URL `[https://api.](https://api.semanticscholar.org/CorpusID:16208906)` `[semanticscholar.org/CorpusID:16208906](https://api.semanticscholar.org/CorpusID:16208906)` . [21] Fuhrer, A. _Phase_ _coherence,_ _orbital_ _and_ _spin_ _states_ _in_ _quantum_ _rings_ . Doctoral thesis, ETH Zurich, Zürich (2003). Diss., Naturwissenschaften ETH Zürich, Nr. 15094, 2003. [22] URL `[https://docs.pydantic.dev/latest/](https://docs.pydantic.dev/latest/)` . [23] Delbecq, M. R. _et_ _al._ Full control of quadruple quantum dot circuit charge states in the single electron regime. _Applied_ _Physics_ _Letters_ 104, 183111 (2014). URL `[https://doi.org/10.1063/](https://doi.org/10.1063/1.4875909)` `[1.4875909](https://doi.org/10.1063/1.4875909)` . https://pubs.aip.org/aip/apl/articlepdf/doi/10.1063/1.4875909/14297354/183111_1_online.pdf. [24] Mortemousque, P.-A. _et_ _al._ Coherent control of individual electron spins in a two-dimensional quantum dot array. _Nature_ _Nanotechnology_ 16, 296–301 (2021). [25] Ng, V. Rust vs c++, a battle of speed and efficiency (2023). [26] Ivanov, N. Is rust c++-fast? benchmarking system lan guages on everyday routines (2022). 2209.09127. [27] Virtanen, P. _et_ _al._ SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. _Nature_ _Methods_ 17, 261–272 (2020). [28] Stellato, B., Banjac, G., Goulart, P., Bemporad, A. & Boyd, S. OSQP: an operator splitting solver for quadratic programs. _Mathematical_ _Programming_ _Com-_ _putation_ 12, 637–672 (2020). URL `[https://doi.org/](https://doi.org/10.1007/s12532-020-00179-2)` `[10.1007/s12532-020-00179-2](https://doi.org/10.1007/s12532-020-00179-2)` . [29] Volk, C. _et_ _al._ Loading a quantum-dot based Qbyte reg ister. _npj_ _Quantum_ _Information_ 5, 1–12 (2019). [30] Bolusani, S. _et_ _al._ The SCIP Optimization Suite 9.0. Technical Report, Optimization Online (2024). URL `[https://optimization-online.org/2024/02/](https://optimization-online.org/2024/02/the-scip-optimization-suite-9-0/)` `[the-scip-optimization-suite-9-0/](https://optimization-online.org/2024/02/the-scip-optimization-suite-9-0/)` . [31] Bolusani, S. _et_ _al._ The SCIP Optimization Suite 9.0. ZIB-Report 24-02-29, Zuse Institute Berlin (2024). URL `[https://nbn-resolving.org/urn:nbn:de:](https://nbn-resolving.org/urn:nbn:de:0297-zib-95528)` `[0297-zib-95528](https://nbn-resolving.org/urn:nbn:de:0297-zib-95528)` . [32] Stellato, B., Naik, V. V., Bemporad, A., Goulart, P. J. & Boyd, S. Embedded mixed-integer quadratic optimization using the osqp solver. In _European_ _Control_ _Confer-_ _ence_, 1536–1541 (2018). [33] Horn, R. A. & Johnson, C. R. _Ma-_ _trix_ _Analysis_ (Cambridge University Press, 1990). URL `[http://www.amazon.com/](http://www.amazon.com/Matrix-Analysis-Roger-Horn/dp/0521386322%3FSubscriptionId%3D192BW6DQ43CK9FN0ZGG2%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0521386322)` ``` Matrix-Analysis-Roger-Horn/dp/0521386322% 3FSubscriptionId%3D192BW6DQ43CK9FN0ZGG2%26tag% 3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative% ``` `[3D165953%26creativeASIN%3D0521386322](http://www.amazon.com/Matrix-Analysis-Roger-Horn/dp/0521386322%3FSubscriptionId%3D192BW6DQ43CK9FN0ZGG2%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0521386322)` . Appendix A: Software implementations This section lists the software implementations of each algorithm and how many charges states they consider. <u>Algorithm</u> <u>Number</u> <u>of</u> <u>charge</u> <u>states</u> <u>to</u> <u>be</u> <u>considered</u> <u>Software</u> <u>implementations</u> Brute-force ( _n_ max + 1) <sup>_<u>n</u>_</sup> <sup>dot</sup> where _n_ max _∈{_ 1 _,_ 2 _, ..., ∞}_ JAX, Python `Qarray` -default 2 <sup>_n_</sup> <sup>dot</sup> Rust, JAX, Python <u>`Qarray`</u> <u>-thresholded</u> <u>(</u> _<u>t</u>_ <u>+ 1)</u> <sup>_n_</sup> <sup>dot</sup> <u>where</u> _<u>t ∈</u>_ <u>[0</u> _<u>,</u>_ <u>1]</u> <u>Rust,</u> <u>Python</u> Table I. A table showing the number of charge states needing to be considered by the software implementations of the bruteforce, default and thresholded algorithms. Where _n_ dot refers to the number of quantum dots in the array being simulated, is _n_ max maximum number of charges considered in any dot by the brute-force algorithm and _t_ is the threshold used in the thresholded algorithms, which quantifies the degree of approximation. Appendix B: Positive Definite Proof This section proves that the c _dd_ is positive definite, making the optimisation problem convex. Theorem B.1 _For_ _any_ _set_ _of_ _capacitances_ _between_ _nodes_ _such_ _that_ _cij ∀i, j_ _are_ _real,_ _non-negative_ _and_ _cij_ = _cji_ _the_ _Maxwell_ _matrix_ C <sup>_M_</sup> _∈_ R <sup>(</sup> <sup>_ndot_</sup> <sup>+</sup> <sup>_ngate_</sup> <sup>)</sup> <sup>_×_</sup> <sup>(</sup> <sup>_ndot_</sup> <sup>+</sup> <sup>_ngate_</sup> <sup>)</sup> _is_ _defined_ _as_ _Cij_ <sup>_M_</sup> <sup>=</sup> �� _k_ _cik_ _δij_ _−_ _cij_ (1 _−_ _δij_ ) _._ (B1) _Let_ C _∈_ R <sup>_ndot×ndot_</sup> _be_ _the_ _upper_ _left_ _block_ _of_ C <sup>_M_</sup> _._ C _is_ _positive_ _definite_ _assuming_ _the_ _physical_ _case_ _of_ _every_ _dot_ _being_ _coupled_ _to_ _at_ _least_ _one_ _gate,_ _namely_ _∀i ∃j_ _> ndot_ _such_ _that_ _cij_ _>_ 0 _._ Proof B.2 _A_ _matrix_ A _∈_ R <sup>_n×n_</sup> _is_ _called_ _strictly_ _diagonally_ _dominant_ _if_ _for_ _all_ _n_ _diagonal_ _entries_ _|Aii| >_ <sup>�</sup> _k̸_ = _i_ <sup>_|Aik|_</sup> _holds._ _We_ _start_ _proving_ _that_ C _is_ _strictly_ _diagonally_ _dominant_ _by_ _observing_ _ndot_ _k̸_ = _i_ _cik._ _Cii_ = _ndot_ + _ngate_ _k_ =1 _cik_ _>_ _ndot_ _k̸_ = _i_ _|Cik|_ = _This_ _holds_ _due_ _to_ _the_ _non-negative_ _elements_ _cij_ _and_ _can_ _be_ _simplified_ _to_ _the_ _true_ _statement_ <sup>�</sup> _k_ <sup>_n_</sup> = <sup>_dot_</sup> _n_ <sup>+</sup> _dot_ <sup>_n_</sup> +1 <sup>_gate_</sup> <sup>_cik_</sup> <sup>_>_</sup> <sup>0</sup> <sup>_._</sup> <sup>_Strict_</sup> _diagonal_ _dominance_ _implies_ _positive_ _definiteness_ _for_ _symmetric_ _matrices_ _with_ _non-negative_ _elements_ _by_ _[33,_ _Theorem_ _6.1.10]._ Appendix C: Continous minimum for open quantum dot arrays In this section, we derive the continuous minimum charge state for open quantum dot array - the charge state that minimises (4) neglecting constraints (i) and (ii). The free energy is _F_ ( _⃗Vg,⃗Qd_ ) := <sup><u>1</u></sup> _dd_ <sup>(</sup> <sup>_Cdg⃗Vg −⃗Qd_</sup> <sup>)</sup> (C1) 2 <sup>(</sup> <sup>c</sup> <sup>_dg⃗Vg −⃗Qd_</sup> <sup>)</sup> <sup>_T_</sup> <sup>c</sup> <sup>_−_</sup> <sup>1</sup> For ease of notation going forward, we will write this as _F_ ( _⃗V,⃗Q_ ) = <sup><u>1</u></sup> (C2) 2 <sup>(</sup> <sup>_V_</sup> <sup>_−_</sup> <sup>_Q_</sup> <sup>)</sup> <sup>_T C_</sup> <sup>_−_</sup> <sup>1(</sup> <sup>_V_</sup> <sup>_−_</sup> <sup>_Q_</sup> <sup>)</sup> where _⃗V_ := c _gd⃗Vd_ . Differentiating _L_ with respect to _λ_ yields _<u>∂L</u>_ = 0! _→_ _Q_ ˆ = _QT⃗_ 1 _._ (C3) _∂λ_ <sup>=</sup> <sup>_−QT⃗_</sup> <sup>1 +</sup> <sup>_Q_</sup> <sup>ˆ</sup> Differentiating _F_ for _Qi_ gives _<u>∂F</u>_ _∂Qi_ _i_ = _−_ - _C_ <sup>_−_</sup> <sup>1</sup> ( _V_ _−_ _Q_ )) = 0! _−→_ _Qi_ = _Vi_ (C4) Therefore, the continuous minimum for an open quantum dot array is _Q_ <sup>_∗_</sup> <sup>cont</sup> <sup>open</sup> = _⃗V_ (C5) Appendix D: Continous minimum for closed quantum dot arrays In this section, we derive the continuous minimum charge state for closed quantum dot arrays - the charge state that minimises (4) neglecting constraints (i) and (ii). If the array contains _Q_ <sup>ˆ</sup> charges, we can incorporate (iii) through the method of Lagrangian multipliers with the Lagrangian _L_ ( _⃗Vg,⃗Qd,_ _N_ <sup>ˆ</sup> ) := <sup><u>1</u></sup> _dd_ <sup>(</sup> <sup>_Cdg⃗Vg −⃗Qd_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_λ_</sup> 2 <sup>(</sup> <sup>c</sup> <sup>_dg⃗Vg −⃗Qd_</sup> <sup>)</sup> <sup>_T_</sup> <sup>c</sup> <sup>_−_</sup> <sup>1</sup> �� _Qdi −_ _Q_ <sup>ˆ</sup> _i_ _._ (D1) For ease of notation going forward, we will write this as _L_ ( _⃗V,⃗Q,_ _Q_ <sup>ˆ</sup> ) = 2 <sup><u>1</u></sup> <sup>_⃗_</sup> - (D2) 2 <sup><u>1</u></sup> <sup>(</sup> <sup>_V_</sup> <sup>_−_</sup> <sup>_Q_</sup> <sup>)</sup> <sup>_T C_</sup> <sup>_−_</sup> <sup>1(</sup> <sup>_V_</sup> <sup>_−_</sup> <sup>_Q_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_λ_</sup> - _Q_ <sup>_T⃗_</sup> 1 _−_ _Q_ <sup>ˆ</sup> where _⃗V_ := c _gd⃗Vd_, whilst _⃗_ 1 is the one vector with all entries one, and otherwise subscripts have been dropped. Differentiating _L_ with respect to _λ_ yields _<u>∂L∂λ</u>_ <sup>=</sup> <sup>_−QT⃗_</sup> <sup>1 +</sup> <sup>_Q_</sup> <sup>ˆ</sup> = 0! _→_ _Q_ ˆ = _QT⃗_ 1 _._ (D3) Differentiating _L_ for _Qi_ gives _<u>∂L</u>_ _∂Qi_ - _C_ <sup>_−_</sup> <sup>1</sup> ( _V_ _−_ _Q_ )) _i_ <sup>_−_</sup> <sup>_λ_</sup> = _−_ = 0! _−→_ _Qi_ = _Vi_ + _λC⃗_ 1 _,_ (D4) Plugging (D4) into (D3) and solving for _λ_ yields The Lagrangian in (D2) can be rewritten as _λ_ <sup>_∗_</sup> = _<u>Q</u>_ ˆ _<u>−⃗</u>_ <u>1</u> <sup>_T_</sup> _<u>V</u>_ _._ (D5) 1 <sup>_T_</sup> _C⃗_ 1 _L_ ( _⃗V,⃗Q,_ _Q_ <sup>ˆ</sup> ) = <sup><u>1</u></sup> 2 <sup>_QT C_</sup> <sup>_−_</sup> <sup>1</sup> <sup>_Q −_</sup> <sup>_V_</sup> <sup>_T C_</sup> <sup>_−_</sup> <sup>1</sup> <sup>_Q_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>_V_</sup> <sup>_T C_</sup> <sup>_−_</sup> <sup>1</sup> <sup>_V_</sup> <sup>_−_</sup> <sup>_λ∗⃗_</sup> <sup>1</sup> <sup>_T Q_</sup> <sup>+</sup> <sup>_λ∗Q_</sup> <sup>ˆ</sup> = <sup><u>1</u></sup> - _T_ _C_ _−_ 1 � _V_ + _C⃗_ 1 _λ_ <sup>_∗_</sup> _−_ _Q_ <sup>_⃗_</sup> 2 <sup><u>1</u></sup> <sup>_λ∗_</sup> <sup>2</sup> <sup>_⃗_</sup> <sup>1</sup> <sup>_T C⃗_</sup> <sup>1</sup> (D6) <sup><u>1</u></sup> _V_ + _C⃗_ 1 _λ_ <sup>_∗_</sup> _−_ _Q_ 2 + _λ_ <sup>_∗_</sup> _Q_ <sup>ˆ</sup> _−_ _λ_ <sup>_∗_</sup> _V_ <sup>_T⃗_</sup> 1 _−_ 2 <sup><u>1</u></sup> <sup>_⃗_</sup> by using the matrix generalisation of completing the square. Since the last three terms do not depend on _⃗Q_, this new Lagrangian is again quadratic in _⃗Q_ with the positive definite matrix _C_ . Therefore, the continuous minimum is _Q_ <sup>_∗_</sup> <sup>cont</sup> <sup>min</sup> = _V_ + _C⃗_ 1 _λ_ <sup>_∗_</sup> - _<u>C⃗</u>_ <u>1</u> _._ (D7) 1 <sup>_T_</sup> _C⃗_ 1 = _V_ + - _Q_ ˆ _−⃗_ 1 <sup>_T⃗_</sup> _V_ Appendix E: Optimality criteria for limit cases This section discusses whether only considering the nearest charge states to the continuous minimum is sufficient. We consider two limiting cases and prove that in these cases, it is sufficient. The optimisation problem set out in equation (5) can be written in the form <u>1</u> arg min (E1) _x∈_ R <sup>_n_</sup> 2 _⃗_ <sup>_xT_</sup> <sup>M</sup> <sup>_⃗x_</sup> <sup>+</sup> <sup>_⃗bT⃗x_</sup> subject to _xi_ _≥_ 0 _∀i_ (E2) and _xi_ _∈_ Z _∀i,_ (E3) where M is positive definite matrix. In the following, we prove that if _M_ were diagonal, it would be sufficient to always round the continuous minimum to the nearest discrete change state. Theorem E.1 _The_ _global_ _minimiser⃗x_ <sup>_∗_</sup> Theorem E.1 _The_ _global_ _minimiser⃗x_ <sup>_∗_</sup> _discret_ <sup>_of_</sup> <sup>_the_</sup> <sup>_optimisation_</sup> <sup>_problem_</sup> <sup>(E1)</sup> <sup>_,_</sup> <sup>(E2)</sup> <sup>_,_</sup> <sup>_and_</sup> <sup>(E3)</sup> <sup>_can_</sup> <sup>_be_</sup> <sup>_obtained_</sup> <sup>_by_</sup> _rounding_ _each_ _component_ _of_ _the_ _minimiser⃗x_ <sup>_∗_</sup> _cont_ <sup>_to_</sup> <sup>_the_</sup> <sup>_continuous_</sup> <sup>_optimisation_</sup> <sup>_problem_</sup> <sup>_consisting_</sup> <sup>_of_</sup> <sup>(E1)</sup> <sup>_and_</sup> <sup>(E2)</sup> <sup>_._</sup> <sup>_∗_</sup> _cont_ <sup>_to_</sup> <sup>_the_</sup> <sup>_continuous_</sup> <sup>_optimisation_</sup> <sup>_problem_</sup> <sup>_consisting_</sup> <sup>_of_</sup> <sup>(E1)</sup> <sup>_and_</sup> <sup>(E2)</sup> <sup>_._</sup> Proof E.2 _Since_ M _is_ _diagonal,_ _the_ _optimisation_ _problem_ _uncouples_ _to_ _n_ _independent_ _one-dimensional_ _optimisation_ _problems_ _of_ _the_ _form_ min _xi_ 1 _/_ 2 _Miix_ <sup>2</sup> _i_ <sup>+</sup> <sup>_bixi_</sup> <sup>_with_</sup> <sup>_the_</sup> <sup>_non-negativity_</sup> <sup>_constraint_</sup> <sup>_xi_</sup> <sup>_≥_</sup> <sup>0</sup> <sup>_and_</sup> <sup>_the_</sup> <sup>_integer_</sup> <sup>_constraint_</sup> _problems_ _of_ _the_ _form_ min _xi_ 1 _/_ 2 _Miix_ <sup>2</sup> _i_ <sup>+</sup> <sup>_bixi_</sup> <sup>_with_</sup> <sup>_the_</sup> <sup>_non-negativity_</sup> <sup>_constraint_</sup> <sup>_xi_</sup> <sup>_≥_</sup> <sup>0</sup> <sup>_and_</sup> <sup>_the_</sup> <sup>_integer_</sup> <sup>_constraint_</sup> _xi_ _∈_ Z _._ _Now_ _we_ _show_ _that_ _rounding_ _the_ _solution_ _x_ <sup>_∗_</sup> _i,cont_ <sup>_from_</sup> <sup>_the_</sup> <sup>_one-dimensional_</sup> <sup>_continuous_</sup> <sup>_optimisation_</sup> <sup>_problem_</sup> _xi_ _∈_ Z _._ _Now_ _we_ _show_ _that_ _rounding_ _the_ _solution_ _x_ <sup>_∗_</sup> _i,cont_ <sup>_from_</sup> <sup>_the_</sup> <sup>_one-dimensional_</sup> <sup>_continuous_</sup> <sup>_optimisation_</sup> <sup>_problem_</sup> _to_ _the_ _closest_ _integer_ _yields_ _the_ _global_ _minimiser_ _x_ <sup>_∗_</sup> _i,discret_ <sup>_._</sup> <sup>_If_</sup> <sup>_x∗_</sup> _i,cont_ <sup>=</sup> <sup>0</sup> <sup>_the_</sup> <sup>_integer_</sup> <sup>_constraint_</sup> <sup>_is_</sup> <sup>_already_</sup> <sup>_fulfilled._</sup> <sup>_If_</sup> _x_ <sup>_∗_</sup> _i,cont_ <sup>_>_</sup> <sup>0</sup> <sup>_,_</sup> <sup>_then_</sup> <sup>_the_</sup> <sup>_parabola_</sup> <sup>_is_</sup> <sup>_symmetric_</sup> <sup>_around_</sup> <sup>_x_</sup> _i,cont_ <sup>_∗_</sup> <sup>_._</sup> <sup>_Therefore,_</sup> <sup>_rounding_</sup> <sup>_to_</sup> <sup>_the_</sup> <sup>_closest_</sup> <sup>_integer_</sup> <sup>_minimises_</sup> <sup>_the_</sup> _one-dimensional_ _integer-constrained_ _optimisation_ _problem._ <sup>_∗_</sup> _i,discret_ <sup>_._</sup> <sup>_If_</sup> <sup>_x∗_</sup> <sup>_∗_</sup> _i,cont_ <sup>_>_</sup> <sup>0</sup> <sup>_,_</sup> <sup>_then_</sup> <sup>_the_</sup> <sup>_parabola_</sup> <sup>_is_</sup> <sup>_symmetric_</sup> <sup>_around_</sup> <sup>_x∗_</sup> With small perturbations away from this diagonal case, we cannot always round to the nearest charge to reliably find the lowest energy configuration. Nevertheless, we can guarantee that the minimiser is one of the 2 <sup>_nn_</sup> surrounding neighbours around the continuous solution as long as the condition number _κ_ ( M ) = _λmax/λmin_ is sufficiently low. intuitively, a low condition number corresponds to an almost spherical symmetric potential. Theorem E.3 _If_ _κ_ ( M ) _≤_ 1 + 4 _/n,_ _then_ _one_ _of_ _the_ 2 <sup>_n_</sup> _surrounding_ _neighbours_ _of_ _the_ _continuous_ _minimiser_ _x_ <sup>_∗_</sup> Theorem E.3 _If_ _κ_ ( M ) _≤_ 1 + 4 _/n,_ _then_ _one_ _of_ _the_ 2 <sup>_n_</sup> _surrounding_ _neighbours_ _of_ _the_ _continuous_ _minimiser_ _x_ <sup>_∗_</sup> _cont_ <sup>_is_</sup> _the_ _global_ _minimiser_ _x_ <sup>_∗_</sup> _discret_ <sup>_of_</sup> <sup>_the_</sup> <sup>_integer_</sup> <sup>_optimisation_</sup> <sup>_problem._</sup> <sup>_∗_</sup> _discret_ <sup>_of_</sup> <sup>_the_</sup> <sup>_integer_</sup> <sup>_optimisation_</sup> <sup>_problem._</sup> Proof E.4 _We_ _proceed_ _by_ _showing_ _that_ _even_ _the_ _closest_ _integer_ _point_ _apart_ _from_ _the_ _surrounding_ _neighbours_ _of_ _the_ _continuous_ _minimiser_ _has_ _a_ _larger_ _objective_ _function_ _value_ _than_ _one_ _of_ _the_ _surrounding_ _neighbours_ _for_ _any_ _matrix_ M _as_ _long_ _as_ _the_ _condition_ _number_ _is_ _sufficiently_ _low._ _Let⃗a_ _be_ _the_ _vector_ _from⃗x_ <sup>_∗_</sup> _cont_ <sup>_to_</sup> <sup>_the_</sup> <sup>_closest_</sup> <sup>_integer_</sup> <sup>_neighbour_</sup> <sup>_and_</sup> _b_ _the_ _vector_ _from⃗x_ <sup>_∗_</sup> _cont_ <sup>_to_</sup> <sup>_the_</sup> <sup>_closest_</sup> <sup>_integer_</sup> <sup>_point_</sup> <sup>_which_</sup> <sup>_is_</sup> <sup>_not_</sup> <sup>_a_</sup> <sup>_surrounding_</sup> <sup>_neighbour_</sup> <sup>_of⃗x_</sup> _cont_ <sup>_∗_</sup> <sup>_._</sup> <sup>_Without_</sup> <sup>_loss_</sup> <sup>_of_</sup> _generality,_ _we_ _can_ _assume_ _that⃗a_ _and⃗b_ _have_ _the_ _form⃗a_ = [ _⃗c_ ; _d_ ] _and⃗a_ = [ _⃗c_ ; _d_ + 1] _._ _(_ _The_ _notation_ _means_ _that⃗a_ _has_ _the_ _same_ _entries_ _as⃗c_ _with_ _an_ _additional_ _appended_ _entry_ _d.)_ _Let_ _g_ ( _⃗y_ ) = _⃗y_ <sup>_T_</sup> M _⃗y/_ 2 _with⃗y_ = _⃗x −⃗x_ <sup>_∗_</sup> _cont_ <sup>_such_</sup> <sup>_that_</sup> <sup>_||⃗y||_</sup> <sup>2</sup> <sup>_λmin_</sup> <sup>_≤_</sup> <sup>_g_</sup> <sup>(</sup> <sup>_⃗y_</sup> <sup>)</sup> <sup>_≤||⃗y||_</sup> <sup>2</sup> <sup>_λmax_</sup> <sup>_holds_</sup> <sup>_∀⃗y._</sup> <sup>_We_</sup> <sup>_want_</sup> <sup>_to_</sup> <sup>_show_</sup> <sup>_that_</sup> _g_ ( _⃗a_ ) _≤_ _g_ ( _⃗b_ ) _which_ _is_ _necessarily_ _true_ _if_ _||⃗a||_ <sup>2</sup> _λmax_ _≤||⃗b||_ <sup>2</sup> _λmin._ _This_ _yields_ <sup>_∗_</sup> _cont_ <sup>_to_</sup> <sup>_the_</sup> <sup>_closest_</sup> <sup>_integer_</sup> <sup>_point_</sup> <sup>_which_</sup> <sup>_is_</sup> <sup>_not_</sup> <sup>_a_</sup> <sup>_surrounding_</sup> <sup>_neighbour_</sup> <sup>_of⃗x∗_</sup> _Let_ _g_ ( _⃗y_ ) = _⃗y_ <sup>_T_</sup> M _⃗y/_ 2 _with⃗y_ = _⃗x −⃗x_ <sup>_∗_</sup> _<u>λmax</u>_ _λmin_ _≤_ <sup>_<u>||c⃗</u>_</sup> <sup>_<u>||</u>_</sup> <sup>2 + (</sup> <sup>_<u>d</u>_</sup> <sup><u>+ 1)2</u></sup> _._ (E4) _||⃗c||_ <sup>2</sup> + _d_ <sup>2</sup> _It_ _holds_ _that_ _||⃗c||_ <sup>2</sup> _≤_ ( _n_ _−_ 1) _/_ 4 _since_ _||⃗a||_ <sup>2</sup> _is_ _defined_ _to_ _be_ _the_ _vector_ _to_ _the_ _closest_ _neighbour_ _and_ _therefore_ _|ai| ≤_ 1 _/_ 2 _∀i._ _By_ _incorporating_ _this_ _bound,_ _we_ _obtain_ _the_ _desired_ _result_ _of_ _λmax/λmin_ _≤_ 1 + 4 _/n._ We showed that under certain conditions, the discrete minimiser is among the surrounding neighbours. Intuitively we can do better, namely, if the continuous minimiser is close to an integer in one variable, then the discrete minimiser can be obtained by rounding to the closest integer. The following theorem derives bounds when rounding single coordinates leads to optimal solutions. Theorem E.5 _Let_ _element_ _i_ _of⃗x_ <sup>_∗_</sup> _cont_ <sup>_be_</sup> <sup>_in_</sup> <sup>_the_</sup> <sup>_interval_</sup> <sup>[</sup> <sup>_k, k_</sup> <sup>+</sup> <sup>_δ_</sup> <sup>]</sup> <sup>_for_</sup> <sup>_an_</sup> <sup>_integer_</sup> <sup>_k._</sup> <sup>_If_</sup> <sup>_the_</sup> <sup>_condition_</sup> <sup>_number_</sup> <sup>_κ_</sup> <sup>_fulfills_</sup> _δ_ _≤_ ~~�~~ _κ_ <sup>2</sup> _−_ ( _n −_ 1)( _κ_ <sup>2</sup> _−_ 1) <sup>2</sup> _−_ 1 _,_ (E5) _κ_ <sup>2</sup> _−_ 1 _the_ _i-th_ _element_ _of_ _the_ _discrete_ _minimiser_ _is_ _k._ Proof E.6 _We_ _proceed_ _in_ _a_ _similar_ _way_ _as_ _beforehand_ _by_ _showing_ _that_ _no_ _integer_ _point_ _with_ _k_ _at_ _its_ _i-th_ _element_ _has_ _a_ _higher_ _value_ _than_ _the_ _“opposite”_ _point_ _with_ _entry_ _k_ + 1 _._ _With_ _no_ _loss_ _of_ _generality,_ _let⃗a_ = [ _⃗c_ ; _x_ ] _and⃗b_ = [ _⃗c_ ; 1 _−_ _x_ ] _be_ _the_ _vectors_ _from_ _the_ _continuous_ _minimiser_ _to_ _two_ _opposite_ _integer_ _points._ _Plugging_ _this_ _into_ _||⃗a||_ <sup>2</sup> _λmax_ _≤||⃗b||_ <sup>2</sup> _λmin_ _yields_ _<u>λmax</u>_ _λmin_ _≤_ - _<u>||c⃗</u>_ _<u>||</u>_ <sup>2</sup> <u>+ (1</u> _<u>−</u>_ _<u>δ</u>_ <u>)</u> <sup>2</sup> _._ (E6) _||⃗c||_ <sup>2</sup> + _δ_ <sup>2</sup> _Rearranging_ _yields_ _the_ _quadratic_ ( _κ_ <sup>2</sup> _−_ 1) _δ_ <sup>2</sup> + 2 _δ_ _−_ 1 + ( _κ_ <sup>2</sup> _−_ 1) _||⃗c||_ <sup>2</sup> _≤_ 0 _._ _Solving_ _that_ _for_ _δ_ _and_ _observing_ _that_ _||⃗c||_ <sup>2</sup> _≤_ _n −_ 1 _yields_ _the_ _desired_ _result._ Under this condition, we can guarantee that certain surrounding nodes can be omitted from checking and can, therefore, choose a threshold of _t_ = 1 _−_ 2 _δ_ . Experimentally, however, choosing lower thresholds still yields optimal results, e.g. _t_ = _||_ ∆ _||_ 2 - we motivate this choice in the following section. Appendix F: Physical motivation for diagonal and spherical limit case The constant interaction model is a good approximation when the quantum dots interact weakly, and the associated tunnel coupling is small. As a result, we should expect the interdot capacitive coupling to be smaller than the coupling to the nearest gates; the diagonal elements will be considerably larger than the off-diagonals. As a result, we can write c _dd_ = D ( I _−_ ∆ ) (F1) where D is a diagonal matrix, I is the identity matrix, and the elements ∆ are given by the ratio of the off-diagonal terms to the on. The inverse of this matrix can be approximated using the Neumann expansion c <sup>_−_</sup> _dd_ <sup>1</sup> <sup>=</sup> _∞_ _n_ =0 ∆ <sup>_n_</sup> D <sup>_−_</sup> <sup>1</sup> _≈_ ( I + ∆ ) D <sup>_−_</sup> <sup>1</sup> _._ (F2) Therefore, for small ∆where this approximation is valid, the c <sup>_−_</sup> _dd_ <sup>1</sup> <sup>matrix is diagonally dominant and is a perturbation</sup> from the diagonal matrix. If c _dd_ were diagonal, the charges in the quantum dots would not interact. In this case, the lowest energy discrete charge configuration could be found by rounding the continuous solution to the nearest integer charge, as we prove in the next section. It follows that for small but non-zero ∆ rounding will yield the lowest energy charge state except in the most ambiguous cases where a fractional component of the ith element of the continuous minimum, _Ni_ <sup>_∗_</sup> <sup>,</sup> <sup>is</sup> <sup>close</sup> <sup>to</sup> <sup>1</sup> <sup>_/_</sup> <sup>2.</sup> Therefore, the threshold should be proportional to some ∆ norm, for example _t/_ 2 = _||_ ∆ _||_ 2 _._ (F3) Appendix G: Number of charge states Theorem G.1 _The_ _expected_ _number_ _of_ _charge_ _states_ _needing_ _to_ _be_ _considered_ _by_ _the_ _thresholded_ _algorithm_ _with_ _a_ _threshold_ _t_ _is_ _given_ _by_ (1 + _t_ ) <sup>_ndot_</sup> _where_ _ndot_ _is_ _the_ _number_ _of_ _quantum_ _dots._ Proof G.2 _For random uniformly distributed gate voltages,_ _the continuous minimum can also be considered uniformly_ _distributed._ _Therefore,_ _in_ _1d,_ _the_ _probability_ _that_ _the_ _algorithm_ _has_ _to_ _consider_ _one_ _charge_ _state_ _is_ 1 _−_ _t,_ _and_ _the_ _probability_ _that_ _it_ _has_ _to_ _consider_ _two_ _is_ _t._ _Therefore,_ _the_ _expected_ _number_ _of_ _points_ _is_ E[ _N_ 1 _d_ ] = _t_ _·_ 2+(1 _−_ _t_ ) _·_ 1 = 1+ _t._ _As_ _the_ _dimensions_ _are_ _independent_ E[ _NNd_ ] = E[ _N_ 1 _d_ ] <sup>_N_</sup> _._ _Therefore,_ _if_ _there_ _are_ _ndot_ _quantum_ _dots_ _the_ _expected_ _number_ _of_ _charge_ _states_ _is_ (1 + _t_ ) <sup>_ndot_</sup> Appendix H: Finding optimal voltage for a given charge state Theorem H.1 _The_ _gate_ _voltages_ _that_ _minimise_ _the_ _charge_ _state⃗Qd_ _free_ _energy,_ _F_ ( _⃗Vg,⃗Qd_ ) _is_ _V_ <sup>_∗_</sup> = ( Rc _gd_ ) <sup>+</sup> R _⃗Qd,_ (H1) _where_ R <sup>_T_</sup> R = c <sup>_−_</sup> <sup>1</sup> _dd_ <sup>_is_</sup> <sup>_the_</sup> <sup>_Cholesky_</sup> <sup>_factorisation_</sup> <sup>_and_</sup> <sup>+</sup> <sup>_denotes_</sup> <sup>_the_</sup> <sup>_Moore-Penrose_</sup> <sup>_pseudo_</sup> <sup>_inverse._</sup> Proof H.2 _The_ _free_ _energy_ _is_ _given_ _by_ _Qd −_ c _gd⃗Vg_ _F_ ( _⃗Vg,⃗Nd_ ) = <sup><u>1</u></sup> 2 _Qd −_ c _gd⃗Vg_ - _T_ C <sup>_−_</sup> <sup>1 �</sup> _._ (H2) _Using_ _the_ _Cholesky_ _factorisation_ c <sup>_−_</sup> _dd_ <sup>1</sup> <sup>=</sup> <sup>_RT R,_</sup> <sup>_the_</sup> <sup>_minimisation_</sup> <sup>_problem_</sup> <sup>_can_</sup> <sup>_be_</sup> <sup>_reformulated_</sup> <sup>_as_</sup> <sup>_the_</sup> <sup>_following_</sup> <sup>_linear_</sup> _least-squares_ _problem_ min _Vg_ _||_ R _⃗Qd −_ Rc _gd⃗Vg||_ 2 _._ (H3) _Solving_ _this_ _via_ _the_ _Moore-Penrose_ _pseudo_ _inverse_ _yields_ _the_ _desired_ _result._ Appendix I: Virtual gates This section derives how to construct virtual gates, namely determining how to change the gate voltages to obtain a specific change in the dot potentials. Theorem I.1 _The_ _optimal_ _virtual_ _gate_ _matrix,_ _α,_ _used_ _to_ _construct_ _virtual_ _gates_ _is_ _α_ = ( c _gd_ c <sup>_−_</sup> _dd_ <sup>1)+</sup> (I1) _where_ + _denotes_ _the_ _Moore-Penrose_ _pseudoinverse._ _The_ _ith_ _row_ _of_ _this_ _matrix_ _encodes_ _the_ _electrostatic_ _gate_ _voltages_ _required_ _to_ _change_ _the_ _ith_ _dot’s_ _potential._ Proof I.2 _The_ _quantum_ _dot_ _potential_ _changes_ _with_ _gate_ _voltages_ _according_ _to_ ∆ _⃗Vd_ = c <sup>_−_</sup> _dd_ <sup>1</sup> <sup>c</sup> <sup>_gd_</sup> <sup>∆</sup> <sup>_⃗Vg_</sup> <sup>_according_</sup> <sup>_to_</sup> <sup>(3)</sup> <sup>_._</sup> _If_ _this_ _simple_ _linear_ _system_ _is_ _invertible,_ _the_ _Moore-Penrose_ _pseudoinverse_ _boils_ _down_ _to_ _the_ _regular_ _inverse._ _If_ _it_ _is_ _underdetermined_ _(i.e.,_ _more_ _gates_ _than_ _dots_ _and_ _full_ _row_ _rank),_ _there_ _are_ _infinite_ _solutions._ _In_ _this_ _case,_ _the_ _pseudoinverse_ _picks_ _the_ _solution_ _with_ _minimal_ _2-norm._ _In_ _case_ _of_ _an_ _overdetermined_ _linear_ _system_ _(i.e._ _more_ _dots_ _than_ _gates_ _or_ _no_ _full_ _column_ _rank)_ _there_ _is_ _no_ _solution._ _In_ _this_ _case,_ _the_ _pseudoinverse_ _returns_ _the_ _least_ _squares_ _approximate_ _solution._ Appendix J: Effect of threshold As evidenced in Figure 5, the thresholding strategy can yield significant reductions in the compute time by reducing the number of charge states evaluated to determine whether they are the lowest in energy. However, using values that are too small for the threshold will introduce artefacts in the charge stability diagram. Decreasing the threshold further will exaggerate these artefacts to the degree that for _t_ = 0, all interdot transitions will be lost. We demonstrate this in Fig. 6 a), where we simulate a double quantum dot with dot-dot capacitance matrix _cdd_ = - 1 _._ 4 _−_ 0 _._ 2� _._ (J1) _−_ 0 _._ 2 1 _._ 4 In this case, our empirical understanding of the threshold suggests the minimum value should be the ratio of the off-diagonal elements to the on so _t_ min = 0 _._ 2 _/_ 1 _._ 4 = 1 _/_ 7, this is confirmed by plots e) and f) in Figure 6 being identical. For smaller but non-zero values of the threshold, the charge stability diagram is distorted with the size of the interdot transition being suppressed with decreasing threshold (Fig. 6 b-d)). In Appendix F, we motivate a formula for the minimum value of the threshold _t_ . In this case, the value suggested is more conservative at 0 _._ 202. While not wrong, this value is quite a bit larger than what empirical intuition suggests; more work is required to understand the thresholded algorithm fully. In addition, even when the threshold is well above the minimum, the thresholding strategy appears to introduce almost imperceptible distortions into the charge stability diagram. Figure 7 compares the charge stability diagram produced by the Rust implementation threshold set to 1 _/_ 3 with that produced by the brute force implemented in JAX for a quadruple dot. For the capacitance matrix used in this simulation, our empirical understanding of the threshold value required to capture the interdot transitions accurately is _t_ min = 0 _._ 08, whilst the analytical formula gives 0 _._ 19. We hypothesise finite precision of the OSQP solver, which is exacerbated by the thresholding. For example, if a threshold of _t_ = 2 _/_ 3 is used, the charge stability diagram is identical to brute force. In summary, more work is required to understand the implications of the thresholding strategy fully. However, it is worth noting that these distortions in the charge stability diagram are next to irrelevant when using the constant capacitance model to generate training data for neural networks such as in references [9, 10]. As effects we manually add to make the charge stability diagram look more, such as thermal broadening, measuring the charge stability diagram through a charge sensor and noise, will entirely swap the distortions. And the speed of the thresholded algorithm will allow for much larger more diverse training datasets. Appendix K: Simulation times This section tabulates the time required to simulate the charge stability diagrams in Fig.3, using each of the software implementations. <u>t = 0</u> (a) Vx <u>t = 3/28</u> (d) Vx <u>t = 1/28</u> (b) Vx <u>t = 1/7</u> (e) Vx <u>t = 1/14</u> (c) Vx <u>t = 1</u> (f) Vx Figure 6. (a-e) Charge stability diagrams of an open double quantum dot produced by the thresholded algorithm for threshold values smaller than or equal to the empirical minimum value of 1 _/_ 7 based on the capacitance matrix. The value of the threshold used in the simulation is stated above in the plot. f) Simulated charge stability diagram with the thresholded algorithm with the threshold set to one, so it performs identically to the default algorithm. Algorithm Implementation <sup>Simulation</sup> <sup>time</sup> Simulation time Algorithm Implementation <sup>Simulation</sup> <sup>time</sup> <u>Figure</u> <u>3</u> <u>b)</u> <u>(s)</u> <u>Figure</u> <u>3</u> <u>d)</u> <u>(s)</u> Brute-force Python 4.6 137.6 Brute-force JAX 0.05 + 0.32 jit 21.1 + 0.4 jit Default Python 4.92 18.1 Default JAX 0.09 + 0.8 jit 2.1+ 0.8 jit Default Rust 0.10 0.71 Thresholded _t_ = 1 _/_ 2 Python 2.81 10.8 <u>Thresholded</u> _<u>t</u>_ <u>= 1</u> _<u>/</u>_ <u>2</u> <u>Rust</u> <u>0.08</u> <u>0.66</u> <u>Figure</u> <u>3</u> <u>b)</u> <u>(s)</u> Table II. The compute times for all the different implementations of the brute-force, default and thresholded algorithms, to recreate plots b) and d) in Figure 3. For the JAX-based implementations, we include the one-off jit compile time. For the bruteforce algorithm, we used _n_ max = 2 and 5 for the open four-dot array and the closed five-dot array in b) and d), respectively. (a) (b) (c) Bruteforce Rust (threshold = 1/3) <mark>Open</mark> <mark>Closed</mark> (b) (c) Bruteforce Rust (threshold = 1/3) Difference δε V1 (a.u.) δε V1 (a.u.) δε V1 (a.u.) Figure 7. Diagrams illustrating the errors introduced by the thresholding strategy. (a) The charge stability diagram of a fourgate quadrupled quantum dot device as a function of the left and rightmost gates, in both the open and closed regime, where four holes are confined. The brute-force core was used to compute the charge stability diagrams. (b) Identical charge stability diagram, but computed using the Rust core with a threshold of 1 _/_ 3. (c) The pixel-wise difference between the brute force and the rust core. Black pixels indicate that the predictions differ. The solid black band along the _x_ and _y_ axis demonstrate the brute-force algorithm failing when _n_ max is too small. Whilst the small discrepancies in the centre of the plot are due to the thresholding algorithm.

섹션 본문 77문단 · 38,952자

(제목 없음)

1Semiconductor quantum dot arrays are a leading architecture for the development of quantum technologies.Over the years, the constant capacitance model has served as a fundamental framework for simulating, understanding, and navigating the charge stability diagrams of small quantum dot arrays.However, while the size of the arrays keeps growing, solving the constant capacitance model becomes computationally prohibitive.This paper presents an open-source software package able to compute a 100 × 100 pixels charge stability diagram of a 16-dot array in less than a second.Smaller arrays can be simulated in milliseconds -faster than they could be measured experimentally, enabling the creation of diverse datasets for training machine learning models and the creation of digital twins that can interface with quantum dot devices in real-time.Our software package implements its core functionalities in the systems programming language Rust and the high-performance numerical computing library JAX.The Rust implementation benefits from advanced optimisations and parallelisation, enabling the users to take full advantage of multi-core processors.The JAX implementation allows for GPU acceleration.

I. INTRODUCTION

2Semiconductor quantum dot arrays are one of the leading platforms for the realisation of large-scale quantum circuits.As they grow in size and complexity, these arrays present exciting opportunities and significant challenges.In particular, efficient simulation tools are becoming increasingly crucial for tuning and practical experimental design.

3The constant capacitance model is a widely-used equivalent circuit framework that models the electrostatic characteristics of quantum dot arrays [1][2][3][4][5][6][7].This model has proven to be a valuable resource for gaining insights into charge stability diagrams and for training neural networks for automated tuning strategies [2,5,[8][9][10][11].However, it encounters scaling limitations, making the simulations of arrays larger than four dots slow and impractical.Specifically, the problem of computing the lowest energy charge configuration in a brute force manner, as implemented in Refs.[2,8], scales with (n max + 1) n dot , where n max ≥ 1 is the maximum number of charges considered at any of the quantum dots, and n dot is the number of quantum dots being simulated.

4We introduce QArray, an open-source software package for ultra-fast constant capacitance modelling, opening the path to the creation of ever larger datasets for neural network training, as well as the realisation of digitial twins, the use of machine-learning-informed tuning strategies, and the use of these simulators for tuning and characterisation in real-time.Our package contains two new algorithms to compute the ground state charge configuration, which we call QArray default and thresholded.

5These algorithms greatly reduce the number of calculations needed to find the ground state charge configuration by computing the energies of only the most likely, rather than the full, set of possible configurations.Our default algorithm's complexity scales with 2 n dot .The thresholded algorithm sacrifices some accuracy to further reduce the number of charge states considered to (1 + t) n dot , where t ∈ [0, 1] is a threshold defining which charge states must be considered and which can be neglected.Both our algorithms considerably reduce computational time, especially for larger arrays containing more charges.For example, our default algorithm, in the case of a five-dot array containing five charges, reduces the number of change states considered by at least 243 times compared to a brute-force approach.

6Within QArray, the brute-force approach and our default algorithm are implemented in Python, Rust and JAX.The threshold algorithm is implemented in Python and Rust.The Rust implementations are optimised for parallel computation on a CPU, using rayon [12][13][14].At the same time, a GPU can accelerate the JAX implementations through just-in-time (jit) XLA compilation [15].The Python implementations offer no practical advantages over the ones in Rust or JAX but are maintained for benchmarking and comparison testing.The Rust and JAX implementations of our algorithms can model arrays with 16 or more dots in seconds and simulate the charge stability diagrams of smaller arrays in milliseconds.

7The following section details the matrix formulation of the constant capacitance model.In Section III, we discuss our algorithms and how they compute the charge ground state in both open and closed quantum dot arrays.Then, Section IV covers how realistic features can be incorporated into the simulation and some useful analytical results.Section V provides a step-by-step example of using our software package to simulate a double quantum dot and demonstrates that Qarray can be used arXiv:2404.04994v1[cond-mat.mes-hall]7 Apr 2024 to recreate experimentally measured charge stability diagrams of open quadruple dot and closed five dot arrays.In Section VI, we discuss the details of our software implementations and how we optimised for speed.Finally, in Section VII, we benchmark our implementations of each algorithm.

II. THE CONSTANT CAPACITANCE MODEL

8The constant capacitance model describes an array of quantum dots and their associated electrostatic gates as nodes in a network of fixed capacitors [1][2][3][4][5][6][7].Each node i has an associated charge Q i , an electrostatic potential V j , and its capacitive coupling to every other node k given by C jk .The capacitor C ij stores a charge

9The total charge on node i is therefore related to its and other nodes' potentials according to

10Using the Maxwell matrix formulation, we express this as ⃗ Q = c ⃗ V , where c is the Maxwell capacitance matrix.In this framework, the c matrix's diagonal elements give each node's total capacitance, and the off-diagonal elements are the negative of the capacitive coupling between the respective nodes.We now distinguish between quantum dots and electrostatic gate nodes by separating the matrix equation into

11where ⃗ Q d(g) represents the charge on the quantum dots (gates) and ⃗ V d(g) denotes the potential on the quantum dots (gates).And the matrices c dd , c gd , c dg , c gg encode dot-dot, gate-dot, dot-gate and gate-gate capacitive couplings, respectively, in the Maxwell format.The potential on the quantum dots can then be computed by

12The free energy of the system can then be written as

13where we have dropped the terms without dependence on ⃗ Q d .This free energy function is convex since c dd is positive definite (for proof, see Appendix B).Since the charge on the gates is not of interest, in the remainder of this paper, we drop the subscript and refer to the charge on the quantum dots as ⃗ Q.The allowed charge states ⃗ Q = ±e ⃗ N (for holes and electrons respectively) are heavily constrained in a quantum dot array.In particular, for an open quantum dot array, i.e. when the array is coupled to fermionic reservoirs from which it can draw an arbitrary number of charges (see Fig. 1 (c)), the constraints are:

14(i) The number of charges must be integers, represented as ⃗ N ∈ Z n dot .

15(ii) The number of charges on any given quantum dot must be non-negative, meaning N i ≥ 0 for all i.

16For a closed quantum dot array, i.e. when the leads are decoupled from the array, and the number of charges is fixed to a finite value N [16,17] (see Fig. 1 (d)), we impose the additional constraint:

17(iii) The sum of all charges in the array must equal N .

18At T = 0 K, the system will adopt the charge state, ⃗ N * , which minimises the free energy whilst obeying the appropriate constraints, such that

19where N is the set of all admissible charge configurations for the open or closed regimes of the quantum dot arrays.Due to the constraints, finding the lowest energy charge configuration is an example of a class of optimisation problems called constrained convex quadratic integer problems, also called Mixed-Integer Quadratic Programming (MIQP) problems, which are NP-hard [18][19][20].By computing the ground state charge configuration as a function of the gate voltages, the constant capacitance model captures the charge stability diagrams of such quantum dot arrays when the tunnel couplings between quantum dots are weak.In the following section, we discuss our algorithms for computing the charge configuration ground state.

III. THE QARRAY ALGORITHMS

20The QArray-default and thresholded algorithms can be broken down into two stages.First, we neglect the integer charge constraint, (i), and compute the continuouslyvalued charge state that minimises the free energy.We will refer to this state as the continuous minimum.In the second stage, we reintroduce the integer charge constraint by evaluating the energy of each discrete charge state that neighbours the continuous minimum and selecting the state with the lowest energy (Fig. 2 (a)).

21The QArray-default and thresholded algorithms differ in which charge states they define as neighbouring the continuous minimum.The thresholded algorithm is much more selective (Sec.III B, Fig. 2 (b)).We formally justify considering only the nearest neighbouring discrete charge states in Appendix E. The fundamental idea is that the free energy is a convex function minimised at the continuous minimum.Therefore, the lowest-energy discrete charge states must lie close to the continuous minimum.

22In the next section (Sec.III A), we will discuss how the continuous minimum is computed for both open and closed arrays, then how the default and thresholded algorithms find the discrete charge state lowest in energy from the nearest neighbours to the continuous minimum (Sec.III B).

A. Computing the continuous minimum

23To compute the continuous minimum charge configuration for both open and closed quantum dot arrays, we initially try the analytical solution for the charge configuration derived by neglecting constraints that the charge state must take integer, non-negative values, i.e. constraints (i) and (ii) respectively.If this solution satisfies constraint (ii), such that no dot contains a negative number of charges, we accept it and use it.Otherwise, we compute a solution using a numerical solver, which explicitly applies constraint (ii).We try the analytical solution before resorting to the numerical solver because it is inexpensive to compute compared to the solver, and trying it first offers an overall time advantage.

The analytical solutions

24The continuous minimum for an open quantum dot array is

25see Appendix C for a formal derivation.

26For closed quantum dot arrays, we use Lagrangian multipliers to account for the fixed number of charges in the array (imposed by constraint (iii)).As derived in Ap-

274 .

Figure 2. (a) Diagram depicting the default algorithm ap-

28plied to an open double dot.The algorithm first finds the continuous minimum (marked with a red cross), which minimises the free energy.The free energy landscape, as a function of the charge on each dot, is shown with contour lines.After computing the continuous minimum, the algorithm evaluates the nearest neighbour discrete charge states (marked as red dots) to determine which is lowest in energy.By comparison, the brute force implementation considers all charge states, leading to it also having to consider the charge states marked as black dots.In this case, (1, 2) is the discrete charge state lowest in energy.(b) Diagram depicting the thresholded algorithm applied to an open double dot.The algorithm computes the continuous minimum (red cross) as in the default algorithm.However, rather than just considering all nearest neighbour discrete charge states, thresholding is used to reduce further the number of charge states needing to be evaluated compared to the default version of the algorithm.As the continuous minimum does not lie within the vertical grey rectangle, for which the width equals the threshold t = 1/3, it is unnecessary to consider both the floor and ceiling values for N1.Instead, it can be rounded down.By contrast, the continuous minimum does lie in the horizontal rectangle, so both floor and ceiling values for N2 must be considered.The discrete charge states, considered by the thresholded algorithm, are shown as red dots.

29pendix D, the continuous solution can therefore be written as

30where ⃗ 1 = (1, 1, . . ., 1) T ∈ R n dot is the one vector and Q is the confined charge.

31In both the open and closed cases, one or more of the elements of ⃗ Q * cont open/closed may correspond to a negative number of electrons/holes.As mentioned before, if this occurs, we must fall back on the numerical solver to implicitly apply the constraint.The numerical solver is discussed next.

The numerical solver

32The numerical solver computes the continuous minimum for open and closed dot arrays as a constrained con-vex quadratic optimisation problem.The general form of these problems is minimise ⃗

33In our case M = c −1 dd and ⃗ v = −c −1 dd c gd ⃗ V g .Constraint (ii) can be encoded in this form by setting the constraint matrix A to the identity, and the lower and upper bound vectors ( ⃗ l and ⃗ u) to vectors of all zeros and infinities, respectively.For a closed array, constraint (iii) can be encoded by setting the constraint matrix as a row matrix with all terms equal to one and upper and lower bound vectors as single value elements equal to N .Combining constraints for open and closed quantum dot arrays involves concatenating the associated constraint matrix and bound vectors.

B. Evaluation of the nearest neighbour discrete charge states

34With the continuous minimum in hand, the QArray algorithms iterate over the nearest neighbouring discrete charge states to find which one is the lowest in energy.The algorithms differ in how they define the nearest neighbouring discrete charge states.In the following subsection, we discuss precisely which charge states default and thresholded algorithms iterate over.

The default algorithm

35The default algorithm will consider all the different charge configurations obtained by the element-wise flooring and ceiling of the values in the continuous minimum.Therefore, the default algorithm iterates over all 2 n dot possible ways of rounding the elements of the continuous minimum up or down to the nearest integer.The charge states considered by the default algorithm when computing the lowest energy charge state of a double dot are highlighted in red in Fig. 2 (a).This considerably reduces the number of charge states that need to be considered compared to the brute force approach.As mentioned previously, we formally justify considering only the neighbouring discrete charge states in Appendix E. If the quantum dot array is closed, we eliminate the configurations that lead to the wrong number of charges in the array.

The thresholded algorithm

36The motivation behind the thresholded algorithm was the observation that it was sometimes unnecessary to consider every one of the 2 n dot possible charge combinations.Only if the decimal part of each element of the continuous minimum charge state, ⃗ N * cont , is close to 1/2 should we consider both charge configurations obtained by rounding up and down to the nearest integer.Otherwise, we can round to the closest charge configuration.As an example, the charge states considered by the thresholding algorithm when computing the lowest energy charge state of a double dot, with a threshold of 1/3, are highlighted in red in Fig. 2 (b)).

37If we define the threshold as t ∈ [0, 1], then the condition for having to consider both the floor and ceiling charge configurations on the ith quantum dot is

38The total number of charge states needed to be evaluated after the thresholding scales with (t + 1) n dot (see Appendix G for deviation).

39When considering closed arrays, we found that applying the threshold may produce no charge states with the correct number of charges.In this case, we double the threshold and recompute.This threshold is left to the user's discretion; however, in Appendix F, we try to motivate a good choice of threshold.

IV. ADDITIONAL FUNCTIONALITY

40This section discusses features of QArray that are adjoint to the main algorithms.In particular, how we simulated charge sensing measurements (Sec.IV A) and thermal broadening (Sec.IV B), and present analytical results regarding optimal choice of gate voltages and virtual gates (Sec.IV C).

A. Charge sensors

41To simulate charge sensing measurements, we compute the charge state, ⃗ N * , of non-charge sensing dots, neglecting the existence of the charge sensing dots but accounting for cross-talk due to the charge sensor gates.Fixing the non-charge sensing dot charges, we compute the number of carriers required to minimise each charge sensor's electrostatic energy.From here, we calculate the charge sensors' potential using this charge state, according to Eq. ( 3).Finally, we compute the charge sensor's response based on Lorentzian or an approximately Gaussian profile in the weak and strong coupling regimes, respectively [21].This method recreates a Coulomb peak sensitivity profile, whilst white, 1/f , and sensor jump noise can be added on top [11].

B. Thermal Broadening

42For a finite temperature, the quantum dot system will not adopt the lowest energy charge state.This can be accounted for by replacing the arg min function in Eq.

43(5) with a soft arg min function, which computes a Boltzmann weighted sum of the applicable charge states, such that

44The summation runs over all the allowed charge configurations.For a closed array, this means eliminating the charge states with the total number of charges different than N .

C. Optimal gate voltages and virtual gates

45In developing QArray, we derived and implemented analytical results that help navigate charge stability diagrams.This section lists them.

46Optimal gate voltages: the gate voltages that minimise the charge state

47where R T R = c −1 dd is the Cholesky factorisation and + denotes the Moore-Penrose pseudo inverse.The proof of this result is presented in Appendix H.

48Optimal virtual gate matrix: the optimal virtual gate matrix, α, used to construct virtual gates is

49where ith row of this matrix encodes the electrostatic gate voltages required to change the ith dot's potential.The proof of this result is presented in Appendix I

V. EXAMPLES

50In this section, we explain the usage of QArray to produce the stability diagram of a double quantum dot.Firstly, we import the DotArray and GateComposer classes as follows, Upon initialising the DotArray class, we specify the system's capacitance matrices, charge carriers, and the computational core, as shown below.The temperature parameter (T ) can be used to incorporate the effect of thermal broadening.In the example below we set it to zero, ensuring that the solver determines the charge state that minimises the free energy as specified in Eq. ( 5).In this example, we input the capacitance matrices in the Maxwell format.The software also accepts inputs in the form of dot-dot and gate-dot capacitive couplings using the keyword arguments Cdd and Cgd (with an upper case "C").During initialisation, the input parameters are checked by the pydantic library [22].This validation process checks the correctness of the capacitance array introduced by the user.This includes verifying that the values passed for c dd are of the correct type and that the matrix possesses the correct shape, is positive definite, and is symmetric.

51The GateVoltageComposer class has several methods for creating gate voltage arrays.The most general is meshgrid, as shown below, which mirrors numpy in constructing a dense array of gate voltages to sweep over.In this way, it is possible to simulate N -dimensional charge stability diagrams.We also implement do1d and do2d methods for generating one-dimensional and two-dimensional gate voltage arrays, which wrap meshgrid.These methods are based on the QCoDeS routines of the same names and take the same arguments.

52With these classes initialised, we can generate a stability diagram of the system in an open configuration using the DotArray model's ground_state_open method.The ground_state_closed method takes a second argument, n_charges, which sets the number of charges in the system.In the following, we set this value to two, n_open and n_closed are thus (100, 100, 2) numpy arrays, such the ground state charge configuration at the corresponding gate voltages is contained in the last dimension.3a from [24] using QArray.The colour scale represents the derivative of the simulated sensor signal, in this case Vqpc, with respect to δV − Y .To simulate the sensing of a qpc instead of a sensor dot, we considered only a single gate for the sensor dot architecture and replaced the Lorentzian shape response with a linear function.

A. Realistic simulations

53Beyond simply computing idealised charge stability diagrams QArray can simulate the response from a charge sensor and account for the thermal broadening of charge transitions, as explained in Section IV.Combined, these two capabilities make it possible to generate simulations of stability diagrams that look considerably closer to experimental data.Figure 3 (a) shows a charge sensor measurement of a charge stability diagram of an open quadruple dot presented in Ref. [23].In Fig. 3 (b), we simulate this measurement using QArray with a 200 × 200 pixels resolution.Likewise, Fig. 3 (c) shows a measurement from Ref. [24] of a stability diagram corresponding to a five-electron closed configuration within a five-dot crossgeometry array.In Fig. 3 (d), we simulate this measurement with a resolution of 400 × 400 pixels.We achieved a very good qualitative agreement between both measurements and our simulations.Discrepancies are mainly due to the fact that the constant capacitance model does not capture the curvature of charge transitions; in this model, couplings between dots are kept constant for all gate voltage ranges.

54The code to recreate the simulations displayed in Fig. 3 (b) and (d) is provided as examples within the QArray package.We used the Rust implementation of the default algorithm for both reconstructions, but we could have used any algorithm implementation.The compute times are listed in Appendix K.As a figure of merit, the Rust implementation of the default algorithm took 0.1 and 0.7s for the open and closed arrays, respectively.All implementations of all algorithms in the package produce identical plots.

VI. IMPLEMENTATIONS

55Within QArray, the brute-force approach and our default algorithm are implemented in Python, Rust and JAX.The threshold algorithm is implemented in Python and Rust.The Rust and JAX implementations fulfil different use cases.The Rust implementations are optimised for computation on a CPU, while a GPU can accelerate the JAX based implementations.The Python implementation does not provide a practical advantage over the Rust and JAX cores, but it is retained for benchmarking purposes (see Fig. 4(a-b)).In this section, we discuss these different implementations in detail.

56The Rust implementations: Rust is a systems programming language on par with c in speed [13,25,26].Our Rust implementations take advantage of parallelism when sensible, based on workload at runtime, thanks to the functionality provided by rayon [13,14,25,26].In addition, we used caching and function memorisation to avoid reevaluating the discrete charge state configurations for which the free energy is evaluated.However, appreciating that Rust is a relatively niche language compared to the ubiquitousness of Python, we interloped the Rust core with Python.This allows the user to gain all the benefits of Rust in their familiar Python coding environment.

57The JAX implementations: JAX is a Python-based machine learning framework that combines autograd and XLA (accelerated linear algebra).Its structure and workflow mirror that of numpy; however, at run time, the code can be just in time (jit) compiled and auto-vectorised to primitive operations for significant performance improvements.Through the vmap function, JAX will compile the functions to XLA and execute them in parallel with a GPU [15].Unfortunately, the discrete nature of the constant capacitance model negates the possibility of using JAX's autograd capabilities.In addition, as the sizes of all arrays must be known at just-in-time compile time, the JAX implementation of our algorithm cannot perform the thresholding algorithm.

58The numerical solver: We made use of the OSQP (Operator Splitting Quadratic Program) solver instead of relying on those available in scipy.optimize[27].The OSQP solver is optimised explicitly for constrained convex quadratic problems [28].OSQP is an incredibly efficient solver; only one matrix factorisation is required to setup the optimisation problem after which all operations are cheap, such that there is no need to perform any slow division operations.As such, we found the OSQP solver faster at converging than the scipy implementations.

59It is important to note that in QArray we set the unit charge, |e| = 1, to avoid issues with numerical stability.The units of free energy are thus electron volts, and the units of our temperature parameter are Kelvin.

VII. BENCHMARKS

60We benchmark the performance of each of the algorithms within QArray for all the different implementations discussed.In order to do this, we generate a random C matrix by drawing each element from a uniform distribution.This randomised matrix is converted to the Maxwell format.We then compute the ground state charge configuration over a set of 100 × 100 randomly chosen gate voltage configurations and record the average computation time.

61For all the implementations of the brute-force and default algorithm, we show the average compute time over many benchmarking runs executed on both the CPU within the Apple M1 Pro System on Chip (SOC) and an NVIDIA GTX 1080TI GPU (Fig. 4 (a-b)).As anticipated, the default version of the algorithm exhibits superior scalability compared to the brute force approach, resulting in notably shallower performance curves.Compared to the brute force method, for arrays with more than five dots, the Rust and JAX implementations of the default algorithm are at least one order of magnitude faster and gain more time advantage as the number of dots increases.Even the Python implementation becomes faster than the GPU-accelerated brute force method for arrays with more than six quantum dots.Still, it remains several orders of magnitude slower than the Rust and JAX implementations due to the speed gained by the parallelisation and the GPU usage offered by these cores.On the CPU, our Rust and JAX cores demonstrate approximately equal performances for open dot arrays.However, for closed dot arrays, the Rust core leverages optimisations that confer enhanced performance in the simulation of large arrays.Nevertheless, the advantage of these optimisations is eclipsed by the raw computational power harnessed by the JAX core when executed on the GPU.The GPU-accelerated JAX algorithm can compute the charge stability diagram of a We ran the JAX and brute force cores on both a CPU and a GPU.For the closed quantum dot arrays, the number of confined electrons/holes matches the number of quantum dots within the array.

6216-dot array featuring 100×100 gate voltage pixels in less than a second for both open and closed configurations.

63In Fig. 5 (a-b), we compare several runs obtained with the Rust implementation of the thresholding algorithm using different values of t for open and closed regimes.As expected, smaller threshold values result in faster computation, especially in larger arrays.The Rust thresholded algorithm running on a CPU was faster than the JAX implementation on a GPU for t < 2/3.We also note larger time gains in the open dots configuration compared to the closed case.This difference arises because when simulating quantum dot arrays in the closed regime, the threshold strategy may fail if no charge state configurations with the correct number of charges are found.In this case, the algorithm doubles the threshold value and recomputes the stability diagram.While this method ensures a correct stability diagram is generated, the additional computational overhead leads to smaller time gains than in the open dot case.

64Whilst decreasing the t values yields dramatic performance gains, it should not be reduced below certain values in order to avoid artefacts in the simulated charge stability diagrams (see Appendix J).The minimum threshold that can be set without introducing artefacts depends on the c −1 dd capacitance matrix.See Appendix E and F for a detailed discussion.In a few words, we have found that the minimum threshold is of the order of the ratio of the largest off-diagonal element of the c dd capacitance matrix to its corresponding diagonal element.Given that the diagonal elements are the dot's total capacitive coupling to every other dot and gate, whilst the off-diagonal elements are dot-dot couplings, we find the critical threshold to be much smaller than one in the case of weakly coupled dots, the approximation under which the capacitance model is justified.

65We note that these benchmarks, based on randomised gate voltages and capacitance matrices, might underestimate the potential of the thresholded algorithm.In tuning larger quantum dot arrays, virtual gates are often used to control isolated double dot subsystems whilst the other dots remain unperturbed (the n + 1 method [29]).In this case, the threshold algorithm could neglect the charge states corresponding to the other dots.Therefore, the time required to simulate a large array operated in this way would be comparable to simulating a double dot device.

VIII. SUMMARY AND OUTLOOK

66We demonstrated that our open-source software package can accelerate the simulation of charge stability diagrams of large quantum dot arrays in both open and closed regimes.The speed and GPU acceleration will aid in generating larger, more diverse datasets on which to train neural networks.This will improve the accuracy of the neural network-based classifiers used in automatic tuning approaches.With improved intuition about the charge stability diagrams, new tuning methods might be developed.In particular, the automated tuning of closed arrays could be drastically easier than for open arrays owing to the smaller number of transitions.The speed of our algorithms is particularly promising for model-based machine-learning methods and real-time interfacing with experiments, as well as for the development of hardwarein-the-loop approaches.

67In future, we hope that, with help from the wider community, this package can grow to include more advanced noise models and high-level functionality.In the immediate future, more advanced algorithms could be implemented to solve constrained integer convex quadratic problems, in particular, either the SCIP or the miOSQP solver [30][31][32].These algorithms can scale even better than the thresholded algorithm.However, parallelisation and GPU acceleration will probably not be possible, so we expect our algorithms to be faster for all but the largest arrays.Finally, as the main contribution of QArray is in the backend, we hope that it can be used as such with application-specific user-friendly interfaces built on top.With small perturbations away from this diagonal case, we cannot always round to the nearest charge to reliably find the lowest energy configuration.Nevertheless, we can guarantee that the minimiser is one of the 2 nn surrounding neighbours around the continuous solution as long as the condition number κ(M) = λ max /λ min is sufficiently low.intuitively, a low condition number corresponds to an almost spherical symmetric potential.

Theorem

68Theorem E. 3 We showed that under certain conditions, the discrete minimiser is among the surrounding neighbours.Intuitively we can do better, namely, if the continuous minimiser is close to an integer in one variable, then the discrete minimiser can be obtained by rounding to the closest integer.The following theorem derives bounds when rounding single coordinates leads to optimal solutions.Under this condition, we can guarantee that certain surrounding nodes can be omitted from checking and can, therefore, choose a threshold of t = 1 − 2δ.Experimentally, however, choosing lower thresholds still yields optimal results, e.g.t = ||∆|| 2 -we motivate this choice in the following section.

Figure 1 .

69Figure 1.(a) Schematic of a generic array of quantum dots: The diagram illustrates the representation of a quantum dot device as a system of capacitively coupled electrostatic gates and quantum dots.Solid black lines represent the direct dot-to-gates couplings, while capacitors representing the interdot capacitance are modelled with grey lines respectively.From the choice of the capacitance matrix (stored in the DotArray class), the user can define an array with an arbitrary number of dots and geometry.For given gate voltages, a discrete integer number of charges minimises the system's free energy.(b) The structure of the Qarray package featuring the multiple software implementations, represented as colour-coded boxes denoting Python (blue), Rust (yellow), and JAX (green), of the brute-force, default and thresholded algorithms.The gate voltage composer class generates voltage vectors for native sweeps (e.g., Vg1 against Vg2), or it can be used to define arbitrary virtual gate sweeps.DotArray offers methods for computing charge stability diagrams for open or closed regimes with any core choice.Optionally, the charge stability diagram can be coupled with simulated charge sensors to model their response.(c) Charge stability diagrams (computed with our default algorithm implemented in Rust) for a hole-based linear array of four quantum dots in the open regime.The black lines denote transitions separating regions in the charge stability diagram with a fixed dot occupation.(d) Charge stability diagrams (computed with our default algorithm implemented in Rust) for the same linear four-dot array of quantum dots in the closed regime where the total number of charges in the array is fixed to four.

1

70from qarray import ( DotArray , G a t e V o l t a g e C o m p o s e r ) 2 import numpy as np

71v o l t a g e _ c o m p os e r = G a t e V o l t a g e C o m p o s e r ( n_gate = model .n_gate ) Vx = np .linspace ( -3 , 3 , 1 0 0 ) Vy = np .linspace ( -3 , 3 , 1 0 0 ) # Constructing the gate voltage array for # the 2 D raster sweep vg = v o l t a ge _ c o m p o s e r .meshgrid ( gates =( 0 , 1 ) , arrays =[ Vx , Vy ] 10 )

#Figure 3 .

72Figure 3. (a) Adaptation of Fig. 2b from Ref. [23] showing a stability diagram of a linear quadruple quantum dot array in the open regime.This is measured as a function of the two outermost plunger gates voltages, V P1 and V P4 .The colour scale represents the derivative of the sensor signal V rf with respect to V P1 .(b) A recreation of Fig. 2b from Ref. [23], simulated using QArray.The colour scale represents the derivative of the simulated sensor signal, Vsens, with respect to V P1 .(c) Adaptation of Fig. 3a from Ref. [24] showing the stability diagram of a five-electron configuration corresponding to a five-dot cross-geometry array.The colour scale represents the sum of current changes in all charge sensors ( ∇iqpc) as a function of virtual gates δV − X (controlling the left-right detunings) and δV − Y (controlling the top-bottom detunings).(d) A recreation of Fig.3afrom[24] using QArray.The colour scale represents the derivative of the simulated sensor signal, in this case Vqpc, with respect to δV − Y .To simulate the sensing of a qpc instead of a sensor dot, we considered only a single gate for the sensor dot architecture and replaced the Lorentzian shape response with a linear function.

Figure 4 .

73Figure 4. (a-b) Average computation time required by each core to generate 100 × 100 pixels charge stability diagrams.Simulations are performed for randomly chosen capacitance matrices and gate voltage configurations, and correspond to increasing sizes of both open (top) and closed (bottom) arrays.We ran the JAX and brute force cores on both a CPU and a GPU.For the closed quantum dot arrays, the number of confined electrons/holes matches the number of quantum dots within the array.

Figure 5 .

74Figure 5. (a-b) Average computation time required by the Rust core to generate a 100 × 100 pixels charge stability diagram computed with different threshold values for increasing numbers of quantum dots both for open and closed quantum dot arrays.

Theorem E. 5 Proof E. 6

75Let element i of ⃗ x * cont be in the interval [k, k + δ] for an integer k.If the condition number κ fulfillsδ ≤ κ 2 − (n − 1)(κ 2 − 1) 2 − 1 κ 2 − 1 , (E5)the i-th element of the discrete minimiser is k.We proceed in a similar way as beforehand by showing that no integer point with k at its i-th element has a higher value than the "opposite" point with entry k + 1.With no loss of generality, let⃗ a = [⃗ c; x] and ⃗ b = [⃗ c; 1 − x]be the vectors from the continuous minimiser to two opposite integer points.Plugging this into ||⃗ a|| 2 λ max ≤ || ⃗ b|| 2 λ min yieldsλ max λ min ≤ ||⃗ c|| 2 + (1 − δ) 2 ||⃗ c|| 2 + δ 2 .(E6)Rearranging yields the quadratic (κ 2 − 1)δ 2 + 2δ − 1 + (κ 2 − 1)||⃗ c|| 2 ≤ 0. Solving that for δ and observing that ||⃗ c|| 2 ≤ n − 1 yields the desired result.

76E.1 The global minimiser ⃗ x * discret of the optimisation problem (E1),(E2), and (E3) can be obtained by rounding each component of the minimiser ⃗ x * cont to the continuous optimisation problem consisting of (E1) and (E2).Since M is diagonal, the optimisation problem uncouples to n independent one-dimensional optimisation problems of the form min xi 1/2M ii x 2 i + b i x i with the non-negativity constraint x i ≥ 0 and the integer constraint x i ∈ Z. Now we show that rounding the solution x * i,cont from the one-dimensional continuous optimisation problem to the closest integer yields the global minimiser x * i,discret .If x * i,cont = 0 the integer constraint is already fulfilled.If x * i,cont > 0, then the parabola is symmetric around x * i,cont .Therefore, rounding to the closest integer minimises the one-dimensional integer-constrained optimisation problem.

77If κ(M) ≤ 1 + 4/n, then one of the 2 n surrounding neighbours of the continuous minimiser x * cont is the global minimiser x * discret of the integer optimisation problem.We proceed by showing that even the closest integer point apart from the surrounding neighbours of the continuous minimiser has a larger objective function value than one of the surrounding neighbours for any matrix M as long as the condition number is sufficiently low.Let ⃗ a be the vector from ⃗ x * cont to the closest integer neighbour and ⃗ b the vector from ⃗ x * cont to the closest integer point which is not a surrounding neighbour of ⃗ x * cont .Without loss of generality, we can assume that ⃗ a and ⃗ b have the form ⃗ a = [⃗ c; d] and ⃗ a = [⃗ c; d + 1]. ( The notation means that ⃗ a has the same entries as ⃗ c with an additional appended entry d.) Let g(⃗ y) = ⃗ y T M⃗ y/2 with ⃗ y = ⃗ x − ⃗ x * cont such that ||⃗ y|| 2 λ min ≤ g(⃗ y) ≤ ||⃗ y|| 2 λ max holds ∀⃗ y.We want to show that g(⃗ a) ≤ g( ⃗ b) which is necessarily true if ||⃗ a|| 2 λ max ≤ || ⃗ b|| 2 λ min .This yields λ max λ min ≤ ||⃗ c|| 2 + (d + 1) 2 ||⃗ c|| 2 + d 2 .It holds that ||⃗ c|| 2 ≤ (n − 1)/4 since ||⃗ a|| 2 is defined to be the vector to the closest neighbour and therefore |a i | ≤ 1/2 ∀i.By incorporating this bound, we obtain the desired result of λ max /λ min ≤ 1 + 4/n.

참고문헌 24건

  1. An Effective Branch-and-Bound Algorithm for Convex Quadratic Integer Programming Lecture notes in computer science · Springer Science+Business Media · 2010 10.1007/978-3-642-13036-6_22
  2. Quantum Manipulation of Two-Electron Spin States in Isolated Double Quantum Dots Physical Review Letters · American Physical Society · 2015 10.1103/physrevlett.115.096801
  3. Electrostatically defined serial triple quantum dot charged with few electrons Physical Review B · American Physical Society · 2007 10.1103/physrevb.76.075306
  4. Full control of quadruple quantum dot circuit charge states in the single electron regime Applied Physics Letters · American Institute of Physics · 2014 10.1063/1.4875909
  5. Generic Hubbard model description of semiconductor quantum-dot spin qubits Physical Review B · American Physical Society · 2011 10.1103/physrevb.83.161301
  6. Phase coherence, orbital and spin states in quantum rings 2003 10.3929/ethz-a-004593507
  7. Coulomb blockade oscillations in semiconductor nanostructures Surface Science · Elsevier BV · 1992 10.1016/0039-6028(92)90385-j
  8. Electron transport through double quantum dots Reviews of Modern Physics · American Physical Society · 2002 10.1103/revmodphys.75.1
  9. A linear triple quantum dot system in isolated configuration Applied Physics Letters · American Institute of Physics · 2017 10.1063/1.4984745
  10. QFlow lite dataset: A machine-learning approach to the charge states in quantum dot experiments PLoS ONE · Public Library of Science · 2018 10.1371/journal.pone.0205844
  11. SciPy 1.0: fundamental algorithms for scientific computing in Python Nature Methods · Nature Portfolio · 2020 10.1038/s41592-019-0686-2
  12. Autotuning of Double-Dot Devices <i>In Situ</i> with Machine Learning Physical Review Applied · American Physical Society · 2020 10.1103/physrevapplied.13.034075
  13. A semidefinite programming method for integer convex quadratic minimization Optimization Letters · Springer Science+Business Media · 2017 10.1007/s11590-017-1132-y
  14. Automatic virtual voltage extraction of a 2x2 array of quantum dots with machine learning arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2012.03685
  15. Coherent control of individual electron spins in a two-dimensional quantum dot array Nature Nanotechnology · Nature Portfolio · 2020 10.1038/s41565-020-00816-w
  16. Performance vs Programming Effort between Rust and C on Multicore Architectures: Case Study in N-Body 2021 10.1109/clei53233.2021.9640225
  17. Matrix Analysis Cambridge University Press eBooks · Cambridge University Press · 1985 10.1017/cbo9780511810817
  18. Semiconductor Nanostructures Oxford University Press eBooks · Oxford University Press · 2009 10.1093/acprof:oso/9780199534425.001.0001
  19. Toward Robust Autotuning of Noisy Quantum dot Devices Physical Review Applied · American Physical Society · 2022 10.1103/physrevapplied.17.024069
  20. An automated approach for consecutive tuning of quantum dot arrays Applied Physics Letters · American Institute of Physics · 2022 10.1063/5.0111128
  21. Is Rust C++-fast? Benchmarking System Languages on Everyday Routines arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2209.09127
  22. Rust vs C++, a Battle of Speed and Efficiency 2023 10.36227/techrxiv.22792553.v1
  23. Fully autonomous tuning of a spin qubit Nature Electronics · Nature Portfolio · 2026 10.1038/s41928-025-01562-4
  24. Codebase release 1.3 for QArray SciPost Physics Codebases · 2024 10.21468/scipostphyscodeb.35-r1.3