def run(self, inputs: (str or list), trace=False, quiet=True):
    out = 0
    p = self._amps[0]
    if isinstance(inputs, str):
        inputs = [int(v) for v in inputs.split(',')]
    for inp in inputs:
        p.reset_core()
        p.simulate([inp, out], trace=trace)
        out = p.output[0]
    self._print_log(quiet)
    return out
def run(self, inputs: (str or list), trace=False, quiet=True):
    out = 0
    p = self._amps[0]
    if isinstance(inputs, str):
        inputs = [int(v) for v in inputs.split(',')]
    for inp in inputs:
        p.reset_core()
        p.simulate([inp, out], trace=trace)
        out = p.output[0]
    self._print_log(quiet)
    return out