From bc13eed8f44ca6f7be0cbb447daede6b460f23e7 Mon Sep 17 00:00:00 2001 From: Nitin Shivaraman Date: Tue, 14 Feb 2023 21:42:05 +0800 Subject: [PATCH] Added newline at the end of the file; fixed the arguments for eval_qft function in main file. --- src/qibotn/__main__.py | 2 +- tests/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qibotn/__main__.py b/src/qibotn/__main__.py index 2dbf82e..8ed7439 100644 --- a/src/qibotn/__main__.py +++ b/src/qibotn/__main__.py @@ -12,7 +12,7 @@ def parser(): def main(args: argparse.Namespace): print("Testing for %d nqubits" % (args.nqubits)) - qasm_quimb.eval_QI_qft(args.nqubits) + qasm_quimb.eval_QI_qft(args.nqubits, args.qasm_circ, args.init_state) if __name__ == "__main__": diff --git a/tests/config.py b/tests/config.py index fbdd3dd..96621a2 100644 --- a/tests/config.py +++ b/tests/config.py @@ -7,4 +7,4 @@ qibo = dict( quimb = dict( backend = 'numpy', swaps = True -) \ No newline at end of file +)