CONFIGURING A CIRCUIT FOR GENERATING SAMPLES FROM A TARGET DISTRIBUTION
20260031794 ยท 2026-01-29
Assignee
Inventors
- Trevor Johnathan McCourt (Cambridge, MA, US)
- Christopher Abraham Chamberland (Austin, TX, US)
- Guillaume Verdon-Akzam (San Francisco, CA, US)
Cpc classification
G06F17/16
PHYSICS
G01R19/0046
PHYSICS
International classification
G01R19/00
PHYSICS
Abstract
A method for configuring a circuit for generating samples from a target distribution comprises: receiving a matrix representing parameters associated with the target distribution; tuning a plurality of tunable capacitance circuits in a tunable capacitance network based at least in part on respective elements of the matrix, wherein the tunable capacitance network consists essentially of interconnected wires intersecting at a plurality of nodes with selected pairs of nodes of the plurality of nodes interconnected by a respective tunable capacitance circuit of the plurality of tunable capacitance circuits and one or more nodes of the plurality of nodes connected to a common ground by a respective tunable capacitance circuit of the plurality of tunable capacitance circuits; recording respective voltage samples from the plurality of nodes of the tunable capacitance network; and storing a linear transformation of a vector of the voltage samples based at least in part on the matrix.
Claims
1. A method for configuring a circuit for generating samples from a target distribution, the method comprising: receiving a matrix representing parameters associated with the target distribution; tuning a plurality of tunable capacitance circuits in a tunable capacitance network based at least in part on respective elements of the matrix, wherein the tunable capacitance network consists essentially of interconnected wires intersecting at a plurality of nodes with selected pairs of nodes of the plurality of nodes interconnected by a respective tunable capacitance circuit of the plurality of tunable capacitance circuits and one or more nodes of the plurality of nodes connected to a common ground by a respective tunable capacitance circuit of the plurality of tunable capacitance circuits; recording respective voltage samples from the plurality of nodes of the tunable capacitance network; and storing a linear transformation of a vector of the voltage samples based at least in part on the matrix.
2. The method of claim 1, wherein each tunable capacitance circuit of the plurality of tunable capacitance circuits in the tunable capacitance network comprises a plurality of switchable capacitors connected in parallel and each switchable capacitor of each plurality of switchable capacitors comprises an active switching element connected in series with a corresponding capacitor.
3. The method of claim 2, wherein each active switching element of each switchable capacitor of each plurality of switchable capacitors is a transistor comprising three or more terminals including at least as first terminal connected to a voltage source of one or more voltage sources and a second terminal and a third terminal, wherein the second terminal and the third terminal are configured to connect a corresponding capacitor to the tunable capacitance network in a closed switch state and to disconnect the corresponding capacitor from the tunable capacitance network in an open switch state.
4. The method of claim 3, wherein at least the first terminal of each active switching element of each switchable capacitor of each plurality of switchable capacitors is connected to the voltage source of the one or more voltage sources and the voltage source of the one or more voltage sources is configured to provide a voltage that is lower than a threshold voltage of the transistor.
5. The method of claim 1, wherein recording voltage samples is performed using one or more voltage sampling circuits configured to perform non-destructive voltage measurements.
6. The method of claim 1, wherein the target distribution is a Gaussian distribution.
7. The method of claim 1, wherein the linear transformation is based at least in part on one or more eigenvalues and one or more eigenvectors associated with one or more capacitors in the plurality of tunable capacitance circuits.
8. The method of claim 7, wherein the linear transformation comprises transforming the vector of voltage samples based at least in part on the one or more eigenvalues and the one or more eigenvectors associated with one or more capacitors in the plurality of tunable capacitance circuits.
9. The method of claim 7, wherein the linear transformation comprises iteratively calculating one or more eigenvectors using the vector of voltage samples and one or more eigenvectors associated with one or more capacitors in the plurality of tunable capacitance circuits.
10. An apparatus comprising: one or more voltage sources configured to provide respective voltages relative to a common ground; a tunable capacitance network consisting essentially of interconnected wires intersecting at a plurality of nodes with selected pairs of nodes of the plurality of nodes interconnected by a respective tunable capacitance circuit of a plurality of tunable capacitance circuits and one or more nodes of the plurality of nodes connected to the common ground by a respective tunable capacitance circuit of the plurality of tunable capacitance circuits, wherein: each tunable capacitance circuit of the plurality of tunable capacitance circuits comprises a plurality of switchable capacitors connected in parallel, and each switchable capacitor of each plurality of switchable capacitors comprises an active switching element connected in series with a corresponding capacitor; and at least one voltage sampling circuit connected to a corresponding node of the plurality of nodes of the tunable capacitance network configured to record one or more voltage samples.
11. The apparatus of claim 10, wherein each active switching element of a switchable capacitor of the plurality of switchable capacitors comprises a transistor having three or more terminals including at least a first terminal connected to a first voltage source of the one or more voltage sources and a second terminal and a third terminal, wherein the second terminal and the third terminal are configured to connect a corresponding capacitor to the tunable capacitance network in a closed switch state and to disconnect the corresponding capacitor from the tunable capacitance network in an open switch state.
12. The apparatus of claim 11, wherein each transistor of an active switching element of a switchable capacitor of the plurality of switchable capacitors comprises one or more semiconductors doped with one or more electron donor elements or one or more electron acceptor elements.
13. The apparatus of claim 11, wherein the first voltage source is configured to provide a voltage that is lower than a threshold voltage of the transistor.
14. The apparatus of claim 11, wherein each active switching element in a closed switch state is configured to individually dissipate power by a resistance between the second terminal and the third terminal of the active switching element in the closed switch state that is larger than resistances over any wires of the interconnected wires that connect any tunable capacitance circuit of the plurality of tunable capacitance circuits to any node of the plurality of nodes in the tunable capacitance network.
15. The apparatus of claim 10, wherein a voltage sampling circuit of the at least one voltage sampling circuit comprises a sense amplifier and a gain amplifier.
16. The apparatus of claim 10, wherein a voltage sampling circuit of the at least one voltage sampling circuit is configured to perform non-destructive voltage measurements that do not alter a voltage sample that is being recorded by more than 1% during a particular non-destructive voltage measurement.
17. The apparatus of claim 10, wherein each active switching element of a switchable capacitor of the plurality of switchable capacitors comprises three or more terminals including at least a first terminal connected to one voltage source of the one or more voltage sources and a second terminal and a third terminal, wherein the second terminal and the third terminal are configured to connect a corresponding capacitor to the tunable capacitance network in a closed switch state and to disconnect the corresponding capacitor from the tunable capacitance network in an open switch state.
18. The apparatus of claim 17, wherein all closed active switching elements in switchable capacitors of the plurality of switchable capacitors in a first tunable capacitance circuit of the plurality of tunable capacitance circuits that are in a closed switch state during recording of at least one voltage sample of the one or more voltages samples are configured to: individually dissipate power by a resistance between the second terminal and the third terminal of that closed active switching element larger than resistances over any wires of the interconnected wires that connect any of the tunable capacitance circuits to any node of the plurality of nodes in the tunable capacitance network, and collectively provide an effective capacitance of the first tunable capacitance circuit of the plurality of tunable capacitance circuits that is substantially equal to a sum of capacitances of all capacitors connected to the closed active switching elements.
19. The apparatus of claim 18, wherein the selected pairs consist of all pairs of nodes of the plurality of nodes in the tunable capacitance network.
20. The apparatus of claim 18, wherein each capacitor in each switchable capacitor of the plurality of switchable capacitors in the first tunable capacitance circuit of the plurality of tunable capacitance circuits has a different capacitance from any other capacitor in any switchable capacitor of the plurality of switchable capacitors in the first tunable capacitance circuit of the plurality of tunable capacitance circuits.
21. The apparatus of claim 20, wherein each capacitor of a plurality of capacitors in each switchable capacitor of the plurality of switchable capacitors of the first tunable capacitance circuit of the plurality of tunable capacitance circuits has a capacitance that is twice a capacitance of at least one other capacitor in any switchable capacitor of the plurality of switchable capacitors of the first tunable capacitance circuit of the plurality of tunable capacitance circuits.
22. The apparatus of claim 18, wherein each active switching element comprises one or both of an n-type metal-oxide-semiconductor transistor, or a p-type metal-oxide-semiconductor transistor.
23. The apparatus of claim 22, wherein each active switching element is operated using an applied voltage that is lower than a threshold voltage of the one or both of an n-type metal-oxide-semiconductor transistor or a p-type metal-oxide-semiconductor transistor associated with the active switching element.
24. The apparatus of claim 22, wherein each voltage source connected to a respective first terminal of an active switching element is configured to provide a voltage that is lower than a threshold voltage of the one or both of an n-type metal-oxide-semiconductor transistor or a p-type metal-oxide-semiconductor transistor associated with the active switching element.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The disclosure is best understood from the following detailed description when read in conjunction with the accompanying drawing. It is emphasized that, according to common practice, the various features of the drawing are not to-scale. On the contrary, the dimensions of the various features are arbitrarily expanded or reduced for clarity. The plots resulting from numerical simulations, as indicated below, are working examples of experimental results associated with some of the techniques described herein, and other plots are prophetic examples of expected experimental results.
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
DETAILED DESCRIPTION
[0049] Metal-oxide semiconductor (MOS)-based transistor circuits or complementary metal-oxide semiconductor (CMOS)-based transistor circuits operating in the subthreshold regime can efficiently sample from a Gaussian distribution. In some implementations, MOS-based or CMOS-based transistor circuits can comprise t-gate circuits that act as switches and allow the tuning of the capacitances of transistor/capacitance based circuits by tuning the gate voltages of the t-gates. The effective Maxwell capacitance matrix associated with closed circuits is related to the covariance matrix of the equilibrium Gaussian distribution from which the free charge nodes may be sampled. As such, the ability to tune the Maxwell capacitance matrix results in the ability to tune the covariance matrix from which the free charge nodes are sampled. In some examples, a free charge node can refer to a node that is subject to a time evolution associated with dynamics of a circuit. In some examples, one or more circuits can be combined to form an apparatus or apparatuses.
[0050] A transistor is a voltage-controlled conductor. Some transistors comprise three terminals, as shown in
[0051] Some transistors can be operated or driven with a voltage below a certain threshold such that the transistor's behavior is characterized by thermodynamic processes associated with the transport of discrete charges in the transistor. By way of example, a subthreshold transistor can be operated or driven at voltages between 0 and 175 mV. This operating regime is referred to as the subthreshold or weak inversion limit. Ins some examples, this regime can also be referred to as the sub-threshold limit. Fundamentally, the transport of discrete charges within a system can lead to shot noise. Without intending to be bound by theory, the following is an example of a theoretical model for illustrating features associated with the subthreshold limit. The current I.sub.DS flowing from a drain terminal 104 to a source terminal 102 for the three-terminal transistor 100 shown in
where V.sub.DS is the voltage between the drain terminal 104 and the source terminal 102, V.sub.GS is the voltage between the gate terminal 106 and the source terminal 102, and I.sub.0 is a threshold current. In equations eqs. (2) and (3), n is the slope of I.sub.DS in the subthreshold limit and I.sub.DS is linear when plotted on a log scale as a function of
in eq. (2) describes a forward hopping process for a discrete charge i.e., a discrete charge going from the drain terminal 104 to the source terminal 102. Similarly, .sub. in eq. (3) describes a backwards hopping process i.e., a discrete charge going from the source terminal 102 to the drain terminal 104. In eqs. (2) and (3), V.sub.T corresponds to the thermal voltage and is given by
where k.sub.B is Boltzmann's constant, T is the temperature of the device and e is the fundamental electron charge. Shot noise can be inseparable from deterministic currents since deterministic currents can be composed of the difference between forward hopping processes and backwards hopping processes. The deterministic current can be an average measure of the noisy electron hopping. The subthreshold regime can therefore be a clean regime in which to build a thermodynamic computer since the noise is relatively well controlled.
[0052] An integrated circuit containing transistors and capacitors can localize charge to nodes of the circuit, as a transistor can regulate the stochastic transport of charge and no charge can cross a capacitor. These nodes of localized charge can be referred to as charge nodes. In particular, transistors can pin down the relationship between voltage and charge. The formula for a voltage vector representing a voltage at each node of the circuit relative to ground, is given by
where C, C.sub.g are matrices and in, V.sub.r are vectors. The matrix C describes how the capacitances are distributed in the circuit and how the capacitances influence the voltage at each node when charges are present. The vector n corresponds to the number of charges in each free node of the free nodes of the circuit. The matrix C.sub.g represents the gate capacitances in a circuit comprising transistors. In particular, the matrix C.sub.g connects the gate voltages of transistors to the nodes of the circuit, influencing the overall voltage distribution of the circuit. The vector V.sub.r represents the reference (or fixed) voltages applied through the gate terminals of the transistors. For a circuit containing d charge nodes with t transistors, C is a matrix with dimensions dd whereas C.sub.g is a dt matrix since C.sub.g maps how each gate capacitance of a transistor influences each node. The result in eq. (5) comes from the charge and voltage equation related to the Maxwell capacitance matrix with
[0053] The Maxwell capacitance matrix describes the relationship between charges and voltages on a set of conductors such that
where C is the capacitance matrix, and V and Q correspond to the voltage vector and charge vector, respectively. An example circuit 200 comprising a plurality of nodes, i.e., a node 201, a node 202, a node 203, and a node 204, is shown in
so that the first row of the capacitance matrix is given by
Extending the above to all nodes, the capacitance matrix can be written
[0054] In general, for a circuit with arbitrary nodes, an off diagonal element C.sub.ij in the capacitance matrix represents the mutual capacitance between node i and node j. The negative sign indicates that an increase in the voltage at node j effectively decreases the effective charge due to this mutual capacitance at node i, thus acting in opposition to the voltage at node i. For the diagonal elements in the capacitance matrix, C.sub.ij represents the total capacitance connected to node i, including any capacitors that are connected to node i and ground.
[0055] For some circuits containing charge nodes, the changes in the number of electron charges at each node can be modeled through a Markov process. An example circuit 300A is depicted in
with an illustration of the Markov process 300B shown in
[0056] In general, a circuit can have many degrees of freedom that correspond to the number of unclamped nodes in the circuit. A general master equation describing the time evolution of the stochastic system can be written as
where the linear operator (U.sub.in) can be written as
[0057] In eq. (13), the sum over is a sum over all transistors in the circuit. The vector v.sub. describes what a transistor (labeled does to the circuit. A transistor may pull away charges from a subset of nodes and add charges to another subset of nodes. The terms involving
depend explicitly on the node voltages as can be seen from eqs. (2) and (3). As such the 's can be written as functions of V and m using eq. (5).
[0058] An example circuit 400 comprising a node 401, a node 402, a node 403, and a node 404 is shown in
Similarly, for the transistor 408 connected to the node 402 and the node 403 with =2, the transistor 408 can cause a charge to be removed from the node 403 and added to the node 402 such that v.sub.408=(1,1)). Alternatively, the transistor 408 can cause a charge to be removed from the node 402 and added to the node 403, such that v.sub.408=(1,1)). The sum over would be a sum over three terms since the circuit 400 comprises the transistor 406, the transistor 408, and the transistor 410.
[0059] In addition to considering the dynamics of the probability distribution for the state in as in eq. (12), the trajectories for the state in can also be considered. The change in the state n from time i to time t+dt can be written as
where is a Poisson random variable with rate
In other words, the charge vector evolves according to infinitesimal Poissonian jumps, and the term
can be viewed as the instantaneous probability of making a transition per unit time. Therefore,
is the probability of a transistor causing a change in the charge state in time dt. Further the term accounts for the transistor firing in either the forward or reverse direction.
[0060] Some circuits can be closed and/or isothermal. A closed circuit refers to a circuit wherein none of the conductors (charge degrees of freedom) have their potentials fixed by voltage sources. An isothermal circuit has a temperature that remains constant. Without intending to be bound by theory, the following is an example of a theoretical model for illustrating features associated with closed and isothermal circuits. A Gibbs state associated with a closed and isothermal circuit can be an equilibrium state of the master equation in eq. (12). The Gibbs state can be written
where m.sup.(i) is the initial charge state of the system. [a,b]=1 if a=b and 0 otherwise, and v runs over the set of independent conservation laws. The energy E in eq. (15) corresponds to the electrostatic energy. The conservation laws L.sub.v(m) are written as
where
with being the matrix of column vectors =[.sub.1, . . . , .sub.M] with each .sub. for transistor specifying the transition m.fwdarw.m+.sub.. For a closed and isothermal circuit, (.sub.).sub.k=.sub.k,n+.sub.k,m. For P.sub.Gibbs(m,t) to be an equilibrium state e circuit is closed and isothermal imposes conditions on the transition rates
Such conditions correspond to the local detailed balance (LDB) conditions which can be expressed for each transistor as
The Gibbs distribution in eq. (15) contains the product .sub.v[L.sub.v(m),L.sub.v(m.sup.(i))]. For all circuits considered in this work, L.sub.v(m.sup.(i))=L.sub.v(m). Consequently, in what follows, this term is omitted.
[0061] A charge vector at each node of a circuit can be related to a voltage vector at each node as
[0062] For a circuit with N conductors, Q=(q.sub.1, . . . , q.sub.N).sup.T and V=(V.sub.1, . . . , V.sub.N).sup.T. Cis the NN Maxwell capacitance matrix. The electrostatic energy E contained in such circuits is given by
where the second and third lines of eq. (19) were determined using eq. (18) and the relation C=C.sup.T. Inserting eq. (19) into eq. (15), the Gibbs state can be written
From eq. (20), for closed and isothermal circuits, measuring a charge state can produce samples of a Gaussian distribution with covariance matrix given by in the inverse of the capacitance matrix, C.sup.1.
[0063] Some circuits can incorporate n-type metal-oxide-semiconductor (nMOS) or p-type metal-oxide-semiconductor (pMOS) transistors. nMOS transistors comprise semiconductors doped with an electron donor element, such as phosphorus, arsenic or antimony. pMOS transistors comprise semiconductors doped with an electron acceptor element such as boron, aluminum, or gallium.
[0064]
[0065]
[0066] Some nMOS and pMOS transistors have four terminals.
For an nMOS device.
[0067]
[0068] Some circuits can effectively act as tunable resistors by combining nMOS and pMOS transistors.
where U.sub.g=V.sub.g/V.sub.T and
with U.sub., U.sub.<1. Note that in deriving eq. (25), the symmetry of the circuit was used to write
with such terms given in eqs. (21) to (24). For completeness,
where the term
can be interpreted as an effective resistance. From eqs. (25) and (29), when V.sub.g>>1, the effective resistance is near zero and thus the circuit 616 in
must be greater than the effective transition rates for the other circuit components to which the circuit 616 in
[0069] At first glance the circuit 616 in
[0070] In general, a transistor-based circuit that can act as a switch, such as the circuits shown in
[0071] In some t-gate circuits, each of the switch 662, the switch 664, and the switch 666 can comprise the nMOS transistor 500, the nMOS transistor 516, the pMOS transistor 508, or the pMOS transistor 526 in
[0072] Referring again to the example t-gate circuit shown in
[0073] For large values of V.sub.g, the effective resistance associated with the switch 708 is not zero, resulting in the switch 708 in circuit 700 behaving as a resistor 758 associated with a resistance R in circuit 750 in
If the transistor acted as a true short with zero effective resistance as shown in
[0074] The equilibrium distribution in eq. (31) should be recovered from the one in eq. (30) by taking the limit where R.fwdarw.0. However the distribution in eq. (31) is independent of R.
[0075] In some implementations of t-gate circuits, a circuit can comprise free nodes, regulated nodes, and island nodes. A circuit comprising one or more island nodes can have an localized charge around the one or more island nodes. In such circuits, the voltage covariance of relevant degrees of free is identical to the shorted case if the t-gate circuits do not behave as a true short. Without intending to be bound by theory, the following is an example of a theoretical model for illustrating features.
[0076] Charge and voltage vectors for free, regulated, and island nodes can be defined as (q.sub.f,V.sub.f), (q.sub.r,V.sub.r) and (q.sub.i,V.sub.i). The charge and voltage vectors are related by the Maxwell capacitance matrix as
Performing the matrix multiplications in eq. (32), results in
Inserting eq. (33) into eq. (35),
From eq. (36) the adjusted free capacitance matrix can be defined as
The voltage V.sub.f can then be written as
Substituting eq. (38) into eq. (34),
In a similar fashion, inserting eq. (38) into eq. (33) results in
Using the above results, the electrostatic energy of the system can be written. Recall that
The eq. (41) can be written in charge space. Using eqs. (38) and (40), eq. (41) becomes
From the second term in eq. (42) the island charge, as well as the mutual capacitance matrix between regulated and island charge nodes, shifts the minima of the charge space energy landscape. The covariance of the charge distribution is given by C. The last three terms in eq. (42) do not depend on the state of the system q.sub.f and can thus be treated as constant.
[0077] Next the electrostatic energy can be written in voltage space. In doing so, the charge can first be written q.sub.f as
Using eqs. (33), (34) and (43) the electrostatic energy can be written as
From eq. (44) that the energy as a function of the regulated voltage V.sub.r does not depend on the island charge q.sub.i (the term
is a constant). Due to the term
in eq. (44), in voltage space, the covariance matrix of the energy function when used in the Boltzmann distribution is given by
instead of C.sub.eff when expressing E in charge space (see the term
in eq. (42)).
[0078] When adding t-gate shorting devices to a circuit, such devices can connect the charge islands to the rest of the circuit such that they become normal free nodes. The collective system has capacitance matrix given by
The charge covariance matrix of the original free nodes in this case is then C.sub.f, which is different than the charge covariance matrix in the open case. Taking the inverse of the shorted capacitance matrix C.sub.s,
As can be seen from eq. (46), the voltage covariance of the relevant degrees of freedom is identical to the shorted case. As such, a programmable sampling device cannot be built in voltage space using only conservative components.
[0079] Given a circuit containing N capacitors in parallel, each capacitor connected to a switch (for instance, the circuit in
[0080] Since the circuit in
where q.sub.f and q.sub.i are the free and island charge vectors, C.sub.r and C.sub.i are the capacitances between regulated nodes and island nodes respectively. In eq. (47), V.sub.r is the voltage vector at regulated nodes, C.sub.fr is the capacitance matrix between free and regulated nodes, C.sub.fi is the capacitance matrix between free and island nodes, C.sub.ri is the capacitance matrix between regulated and island nodes, and C.sub.eff is the effective capacitance matrix given by
[0081] From the term
in eq. (47), the island charge can shift a minima associated with the charge space energy landscape. All other terms in eq. (47) do not depend on the state of the system q.sub.f and thus act as a constant. The electrostatic energy can be written in voltage space as
[0082] For a tunable capacitance circuit such as the one depicted in
with C.sub.eff given in eq. (48). By tuning the resistance by adjusting the voltage V.sub.g, charge can flow off the islands, allowing the tuning of the effective capacitance matrix C.sub.eff as expected.
[0083] Some tunable capacitance circuits can comprise island charges and transistors that are associated with intrinsic capacitances.
in eq. (47) creates shifts in the minima of the energy landscape due to island charges.
[0084] A Maxwell capacitance matrix is: (1) Symmetric (2) Positive definite (3) Diagonally dominant: The self-capacitance terms can shift the diagonal elements by an arbitrary positive amount. The diagonal terms in the k'th row is given by
(see eq. (50)) with C.sub.kj being the mutual capacitances between nodes k and j (when kj) and C.sub.kk the self-capacitance. (4) Has off-diagonal terms that are either zero or negative.
[0085] The positive semi-definite and symmetric properties are also features of any covariance matrix used to sample from a Gaussian distribution. Regarding diagonal dominance, as previously described, the Maxwell Capacitance matrix for a circuit with n nodes can be written as
[0086] In the diagonal terms (say for the j'th row of the capacitance matrix), C.sub.jj is the self-capacitance term which is the capacitance between the j'th free node and a distant ground. The self-capacitance term measures how much charge the node can store at a given voltage relative to this ground. The self-capacitance C.sub.jj is often greater than or equal to the sum of the magnitudes of the off-diagonal elements in that row, which reflects the fact that the nodes self-capacitance is often greater than the mutual capacitances with other nodes. Importantly, eq. (50) shows that the diagonal terms are shifted by a positive amount given by the self-capacitance.
[0087] For a system with state v.sub.f, a general Gaussian distribution describing the voltage fluctuations has a probability density function given by
Expanding the exponent in eq. (51) and comparing it with the electrostatic energy in eq. (47), the covariance matrix and mean vector in voltage space are related to the capacitance and island charges by
so that
where C.sub.eff is given by eq. (48). Although circuits with t-gate switches allow the tuning of C.sub.eff, since C.sub.eff can take on only discrete values, C.sub.eff may not match exactly the desired .sup.1. As discussed later, various trivial linear algebra transformations can be performed whenever there are discrepancies.
[0088] As previously discussed, a t-gate can comprise either a nMOS transistor (when V.sub.gV.sub.S>V.sub.r) or pMOS transistor (when V.sub.gV.sub.S<|V.sub.T|) or a combination thereof. Some t-gate circuits can be associated with a thermal equilibrium time.
[0089]
[0090] To obtain the plots of thermal equilibrium times of the devices considered in FIGS. 10A-10B, the smallest non-zero eigenvalues for the steady state equation
are numerically obtained. In the steady state equation, the linear operator (U.sub.in) is given in eq. (13). If .sub.1 is the smallest non-zero eigenvalue of
, the thermal equilibrium time of the free nodes .sub.thermal is given by .sub.thermal=1/.sub.1.
[0091] A capacitance matrix associated with a circuit can be tuned by controlling the flow of charges on or off of a charge island node using t-gate switches. Such manipulations can be performed to tune the effective capacitance matrix in eq. (48) such that the matrix more closely approximates or matches some target covariance matrix used in a Gaussian distribution of interest. More details on trivial linear algebra transformations that can be performed to map C.sub.eff to E are discussed later.
[0092]
[0093] In a more general case of tuning the capacitance matrix associated with circuit 1100, the capacitor 1106, the capacitor 1108, and the capacitor 1110 can each be associated with a capacitance C.sub.1, C.sub.2, and C.sub.3, respectively. The effective capacitance of the circuit 1100 can be written
This equation follows from the fact that in the
[0094] Some circuits such as the example circuit 1100 can comprise a plurality of capacitors connected in parallel. In such capacitance circuits, each capacitor in the plurality of capacitors can have a different capacitance from any other capacitor in the capacitance circuit. In some capacitance circuits, each capacitor of a plurality of capacitors can have a capacitance that is twice a capacitance of at least another capacitor in the capacitance circuit.
[0095] In a general case of a circuit comprising multiple free nodes, the self and mutual capacitances of the circuit can be replaced with tunable capacitance circuit modules such as the circuit depicted in
where the superscript t in
indicates that the capacitance C.sub.ij may be tuned to take a value in the range 0 to 2.sup.N1 depending on which t-gates are shorts or opened for the tunable capacitance circuit used between free nodes i and j. An example circuit comprising multiple nodes that are interconnected with each other by tunable capacitance circuits that can be used to tune a Maxwell capacitance matrix associated with the system is depicted in
[0096]
[0097] In some implementations, external circuitry can be configured to interact with a circuit architecture or a circuit, or portions thereof. Some implementations of external circuitry can interact with a circuit architecture by applying voltages to or reading voltages from a circuit architecture or portions thereof. For instance, control circuitry can be configured to apply control signals or generate voltages to be applied to a circuit. In some examples, readout circuitry configured to read, sample, and/or store voltages from a circuit. Some implementations of readout circuitry can comprise at least one voltage sampling circuit connected to a corresponding node of the tunable capacitance network such that the voltage sampling circuit is configured to record one or more voltage samples. In such implementations, a measurement can be performed wherein all closed active switching elements in switchable capacitors in a first tunable capacitance circuit of the plurality of tunable capacitance circuits are in a closed switch state during recording of at least one of the voltages samples. In some examples, the closed switching elements can be configured to: individually dissipate power by a resistance between the second and third terminals of the closed active switching element larger than resistances over any of the wires that connect any of the tunable capacitance circuits to any node in the tunable capacitance network, and collectively provide an effective capacitance of the first tunable capacitance circuit that is substantially equal to a sum of capacitances of all capacitors connected to the closed active switching elements.
[0098] In some implementations, circuitry configured to apply control signals to a circuit architecture, or portions thereof, can be positioned on a separate integrated circuit chip or device as the circuit architecture. In some examples, control signals applied to a circuit or signals produced by a circuit can be weak. In some implementations, to mitigate weak signals, circuitry configured to apply control signals to a circuit architecture, or portions thereof, can be positioned in proximity to the circuit architecture, i.e., on the same integrated circuit chip or device that comprises the circuit architecture. In some implementations, circuitry configured to readout signals from a circuit architecture, or portions thereof, can be positioned in proximity to the circuit architecture. i.e., on the same integrated circuit chip or device that comprises the circuit architecture. Positioning one or both of the readout circuitry or the control circuitry in proximity to a circuit architecture can be useful to mitigate losses associated with transmitting weak signals over larger distances.
[0099] The effective capacitance matrix C.sub.eff given in eq. (60) can identically be obtained from eq. (48) when considering island charges. For convenience, eq. (48) is reproduced
In eq. (61), C.sub.f is the standard Maxwell capacitance matrix when all t-gates are shorts since in this case there are no island charges.
[0100] Without intending to be bound by theory, the following is an example of a theoretical model for illustrating features. Let C.sub.f be an MM matrix. Suppose all t-gate circuits are short except for one in the tunable capacitance circuit for the capacitor
In this case a charge island is created (say with capacitance
Now
and the M1 matrix C.sub.fi can non-zero elements given by
in rows i and j. The product
can be an MM matrix which is non-zero only in row i and column j with value
As such, the row i and column j of C.sub.f can be reduced by
[0101] In general, if there are k open t-gates, a circuit can contain k charge islands. The matrix C.sub.i.sup.1=diag(1/C.sub.1, . . . , 1/C.sub.k) (where for notational simplicity, the j'th charge island is assumed to have capacitance C.sub.j). The matrix C.sub.fi can be Mk with a non-zero entry in row i and column i if the i'th free node has a mutual capacitance with the t'th island charge (and if non-zero, it can have capacitance C.sub.t). Performing the multiplication
results in a kM matrix which is 1 if in row s and column t if there is an mutual capacitance between island charge s and free node t. Otherwise the element of C.sub.int is zero. Performing the multiplication C.sub.fiC.sub.int results in an MM matrix where the row i and column j is
is a capacitance between an island charge and free nodes i and j. As such,
can reduce the capacitance of row i and column
which is equivalent to the added island charges with mutual capacitances between free nodes i and j.
[0102] The effective capacitance matrix associated with tunable capacitance circuits can be written as
where
indicates that the capacitance C.sub.ij may be tuned to take a value in the range 0 to 2.sup.N1 depending on which t-gates are shorts or opened for the tunable capacitance circuit used between free nodes i and j (assuming there are N capacitors in parallel in the tunable capacitance circuit for C.sub.ij). As can be seen from eq. (62), such transformations cannot make the off-diagonal terms of C.sub.eff positive (since such terms are shifted by negative values). Further, the diagonal terms are also shifted by negative values.
[0103] Families of covariance matrices E can be mapped to the family of matrices given by
through the use of trivial linear algebra transformations. A more restrictive case is introduced and then a more general case is considered. In what follows,
is used instead of C.sub.eff due to the relationship in eq. (54). The Maxwell Capacitance matrices are positive definite, which means that the inverse matrices are also positive definite.
[0104] Case 1: Let E be the covariance matrix of some Gaussian distribution from which to sample, and let C.sub.eff be obtained from eq. (48) for some closed circuit comprising a t-gate switch. Suppose the off-diagonal elements of satisfy .sub.ij0 for all ij. Suppose further that using eq. (62), there exists a choice of elements of C.sub.fi in eq. (48) such that
where
is the element of
in the i'th row and j'th column. In this setting,
and differ in their diagonal elements. The difference is assumed to arise from a constant shift across all rows, i.e.
for some constant . In this case, both and
have the same eigenvectors, and the eigenvalues .sub. of are related to the eigenvalues .sub.C.sub.(,) can be reconstructed given samples from
(,C.sub.eff) when eq. (63) is satisfied.
[0105] Now let U be the matrix of eigenvectors for and
(which is orthonormal since and
is positive-definite and symmetric). Also let be the diagonal matrix of eigenvalues of . and
can be written as
[0106] Suppose a sample
needs to be transformed into a sample X(,). A centered random variable can be defined
and =+I. Y can be written as
where Z(0,I). The result in eq. (66) follows from the fact that
[Y]=U().sup.1/2
[Z]=0 and
From eq. (66), Z can be written
where .sup.1/2 is just the element-wise inverse square root of the eigenvalues of
Defining Y=X, X is
where Z is computed from eq. (68). The matrix U requires knowledge of all the eigenvectors of
Having to diagonalize
to compute U may be undesired due to the computational costs. However since
can only take on a finite set of values (which are known based on the capacitances at fabrication time of the chip), the eigenvectors for each possible combination of
can be pre-computed, and based on the choice of V.sub.g for each t-gate circuit or tunable capacitance circuit, the U matrix would be known.
[0107] Case 2: The following analysis can apply to any symmetric positive definite matrices (and thus to
and ). The following eigenvalue decomposition can be performed
where U.sub.e and U.sub.s are orthogonal matrices whose columns are the eigenvectors of
and . Further, the matrices .sub.e and .sub.s are diagonal matrices whose diagonal elements are eigenvalues of
and .
[0108] Let
Y can be defined as Y=X. The samples Y can be transformed to the standard normal space using eigenvalues and eigenvectors of
as
where Z(0,I). Next, the standardized samples Z can be scaled to match the covariance matrix of
upon which X=+Y(,).
[0109] Case 3: Suppose that the off-diagonal elements of
are identical to those of (as in Case 1). However, multiple diagonal elements of
can differ from . That is, can be written
with c.sub.i for all i{1, . . . , n}. diag(c.sub.1, . . . , c.sub.n) is assumed to act as a small perturbation of
Let .sub.1, .sub.2, . . . , .sub.n be the eigenvalues of
and v.sub.1, . . . , v.sub.n be its eigenvectors, which as in Case 1 may be pre-computed since the range of values for C.sub.eff are finite. Since C.sub.eff.sup.1 is symmetric and positive-definite, it can be written as
where V is an orthonormal matrix whose columns are eigenvectors of
and [0110] =diag(.sub.1, .sub.2, . . . , .sub.n) is the matrix of eigenvalues. can be written
where D=diag(c.sub.1, . . . , c.sub.n).
[0111] The first-order correction to the eigenvalues of
due to D is given by the Rayleigh quotient for the unperturbed eigenvectors. Given the eigenvector v.sub.i of
the eigenvalue of can be approximated as
where it is assumed that the eigenvectors v.sub.i are normalized. The perturbed eigenvectors are given by
[0112] The steps in eqs. (77) and (78) can be iterated to obtain better approximations to the eigenvalues and eigenvectors of . In other words, this process can comprise iteratively calculating one or more eigenvectors. With the approximate eigenvalues and eigenvectors of given in eqs. (77) and (78), the steps in Case 2 above can be repeated to obtain samples X(,) given samples
Note that such computations can much more efficient than having to diagonalize E as can be needed for instance in Case 2.
[0113] Without intending to be bound by theory, the following is an example of a theoretical model for deriving eq. (78). Consider two symmetric and positive-definite matrices A and B, with
where D is a diagonal matrix that acts as a small perturbation. Since A is symmetric and positive-definite, its eigenvectors {v.sub.1, v.sub.2, . . . , v.sub.n} form an orthonormal basis. The eigenvalues of A can also be denoted by {.sub.1, .sub.2, . . . , .sub.n}.
[0114] The Rayleigh quotient for a vector x with respect to the matrix B can be defined as
For the eigenvector v.sub.i,
where the fact that the vectors {v.sub.1, v.sub.2, . . . , v.sub.n} are normalized was used. The approximate eigenvalues .sub.i of B are given by
[0115] Since D is a small perturbation, the approximate eigenvectors of B can be written to leading order as
A goal can then be to compute the elements Svi. Using eq. (79) and the fact that Av.sub.i=.sub.iv.sub.i, the eigenvalue equation for B can be written as
Rearranging the terms in last line of eq. (84),
The perturbation v.sub.i can be expressed as a sum of the eigenvectors of A as
Inserting eq. (86) into eq. (85) and using the eigenvalue equation for A,
Multiplying eq. (87) to the left by v.sub.k (with ki) and using the orthonormal properties of the eigenvectors,
so that
Using eqs. (86) and (89), the approximate eigenvalues of B to leading order are given by
Using the updated eigenvectors, the steps leading to eq. (90) can be iterated to get better approximations for the eigenvalues and eigenvectors of B. In other words, this process can comprise iteratively calculating one or more eigenvectors.
[0116]
[0117] Some circuits that can sample a Gaussian distribution can incorporate a measurement circuit that can measure voltage fluctuations of the free nodes. Some measurement circuits can be non-destructive. Some circuits capable of performing non-destructive measurements can be configured such that the measurements do not alter a voltage sample that is being recorded by more than 1% during a particular non-destructive voltage measurement.
[0118] The input capacitance of a sense amplifier, sometimes referred to as a sense amp, can load the state of a free node being measured and in some implementations, can be destructive. As such, a small device can be used to act as the input state of the sense amplifier. This device makes the input capacitance in the same order or smaller than the probabilistic circuit whose output is the free node being measured and which drives the sense amplifier.
[0119] In some implementations, C.sub.gd is the only capacitance seen by the input node and can be half that of C.sub.gs. Overall the measurement is non-destructive because the measurement can have minimal to no-impact on the free node that is being measured as the free node can be loaded with a very small capacitance.
[0120] In some implementations, a circuit architecture can be formed as part of a system. A system can be implemented in various configurations, including as a single apparatus or as a combination of one or more apparatuses that collectively perform the functions of a system. In some examples, the one or more apparatuses can form a device, i.e., a system-on-a-chip, or the one or more apparatuses can be separate devices.
[0121] In some implementations, a system can be formed from one or more integrated circuit (IC) chips comprising portions of a circuit architecture. Some circuit architectures can be distributed across multiple chips or consolidated onto a single chip. Some chips can comprise multiple layers of material. In some examples, portions of a circuit architecture can be formed across several layers of devices.
[0122] Some systems can comprise analog, digital, or mixed-signal circuitry configured to perform functions such as signal processing, voltage regulation, or data acquisition. Some systems can comprise interface or control circuitry configured to perform functions such as applying bias voltages, measuring voltages, or interfacing with components of the circuit. In some examples, control circuitry can be implemented in one or more dedicated regions of an IC, or distributed throughout a circuit architecture. In some examples, control circuitry can comprise components such as a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), one or more processors or processor cores, including central processing unit(s) (CPU(s)) and/or graphics processing unit(s) (GPU(s)), or other computing devices or modules capable of executing a program (e.g., software and/or firmware) comprising instructions or other compiled or executable code. The electronic circuitry can also include at least one data storage system (e.g., including volatile and non-volatile memory, and/or storage media). The program may be provided on a computer-readable storage medium, or delivered over a communication medium such as a wired or wireless network, to a device module where it can be stored and eventually executed when read by the device to perform the procedures of the program.
[0123] In some implementations, portions of a circuit architecture and control circuitry can be arranged in a flip-chip configuration to allow for three-dimensional integration of multiple chips or substrates. Some flip-chip configurations comprise conductive structure such as wire bonds, microbumps, or vias to facilitate electrical communication between multiple layers or chips.
[0124] While the disclosure has been described in connection with certain embodiments, it is to be understood that the disclosure is not to be limited to the disclosed embodiments but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the scope of the appended claims, which scope is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures as is permitted under the law.