message: making it so you can override the accelerator set by the python decorator
diff: @@ -146,6 +146,10 @@ class WrappedF(object):
  self.args = args
  self.kwargs = kwargs
  self.__dict__.update(kwargs)
  + self.accelerator = None
  +
  + def overrideAccelerator(self, acc):
  + self.accelerator = acc
  def nParameters(self):
  if 'accelerator' in self.kwargs:
  @@ -194,6 +198,7 @@ class WrappedF(object):
  return compiledKernel.getIRFunction()
  def __call__(self, *args, **kwargs):
  + if self.accelerator == None:
  if 'accelerator' in self.kwargs:
  if isinstance(self.kwargs['accelerator'], Accelerator):
  qpu = self.kwargs['accelerator']
  @@ -205,6 +210,9 @@ class WrappedF(object):
  print(
  '\033[1;31mError, no Accelerators installed. We suggest installing TNQVM.\033[0;0m')
  exit(0)
  + else:
  + print('hello world, setting ', self.accelerator.name())
  + qpu = self.accelerator
  # Remove the @qpu line from the source
  src = '\n'.join(inspect.getsource(self.function).split('\n')[1:])
  