Loading python/qcor.in.py +4 −4 Original line number Diff line number Diff line Loading @@ -613,8 +613,8 @@ class qjit(object): at the given arguments. """ def kernel_eval(x): program = self.extract_composite(qreg, x) return program args_dict = self.translate(qreg, x) return self._qjit.extract_composite(self.function.__name__, args_dict) if isinstance(x_vec, float): x_vec = [x_vec] Loading Loading
python/qcor.in.py +4 −4 Original line number Diff line number Diff line Loading @@ -613,8 +613,8 @@ class qjit(object): at the given arguments. """ def kernel_eval(x): program = self.extract_composite(qreg, x) return program args_dict = self.translate(qreg, x) return self._qjit.extract_composite(self.function.__name__, args_dict) if isinstance(x_vec, float): x_vec = [x_vec] Loading