By setting inputs to have a particular number of 0s and 1s and at the same time controlling the logic level appearing at the summation node (n1) by controlling the pull-up and pull-down devices in a sequence, two effects are accomplished, in accordance with various embodiments. First, each capacitor stores a deterministic charge. Second, a specific displacement charge is put on the summing or floating node n1. Setting a specific displacement charge value at the floating node n1 sets the threshold of when the floating node (n1) during the evaluation phase is allowed to go to the logic value of 0 or 1. For example, for an n-input threshold gate, if the threshold is set such that the floating node n1 goes closer to 1 logic level than 0 logic level, when all of the inputs are set to 1, then the capacitive input circuit becomes a NAND gate. Similarly, if it is desired that any one input becomes logic 1 in the evaluation phase to give voltage closer to logic level 1 at the floating node, then the circuit becomes an OR gate with n-inputs. Similarly, any intermediate threshold from 0 to n can be set. In some embodiments, a threshold of zero means that the gate becomes a buffer. For instance, the circuit is always turned on to input logic level 1. A threshold of n+1 for an n-input gate means that the summation node n1 may not go closer to logic level 1, even when all the inputs are set to 1. This would mean that the capacitive input circuit becomes a disconnected circuit.
In general, the input capacitive circuit when configured as a threshold gate, it can be expressed as: