A method is provided for determining an optimal performance of a lossless
circuit. In one embodiment, the number of inductors and capacitors
contained in a circuit of interest are input, and then a random search of
a plurality of lossless circuits, each having the same number of
inductors and capacitors, is conducted. Then, the electrical load used by
the circuit of interest is input into each of the plurality of lossless
circuits. The method then searches for a circuit of the plurality of
lossless circuits having the smallest mismatch between the electrical
load and the circuit's input reflectance. The circuit having a lowest
mismatch between the input electrical load and the circuit's input
reflectance is then determined.