Commit Graph

161 Commits

Author SHA1 Message Date
tankya2
2b6345c8ca Take out repeat codes 2024-02-15 12:22:45 +08:00
pre-commit-ci[bot]
6b3c26b934 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-15 12:22:45 +08:00
vinitha-balachandran
154c0a1319 removing cpu.py as quimb.py is added 2024-02-15 12:22:45 +08:00
pre-commit-ci[bot]
8a9a45978a [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-15 12:22:45 +08:00
vinitha-balachandran
853e67a668 renaming cpu to quimb 2024-02-15 12:22:45 +08:00
vinitha-balachandran
e98d333222 renamed cpu to quimb and qutensornet to quimbbackend 2024-02-15 12:22:45 +08:00
Alessandro Candido
52bb0ec4e8 fix: Fix indentation wrong level from review suggestion 2024-02-15 12:22:45 +08:00
Vinitha-balachandran
100c9f302a Update src/qibotn/eval_qu.py
updated the changes

Co-authored-by: Alessandro Candido <candido.ale@gmail.com>
2024-02-15 12:22:45 +08:00
Vinitha-balachandran
483baa7f6e Update src/qibotn/eval_qu.py
made changes

Co-authored-by: Alessandro Candido <candido.ale@gmail.com>
2024-02-15 12:22:45 +08:00
Vinitha-balachandran
253ff4add6 Update src/qibotn/backends/cpu.py
Co-authored-by: Alessandro Candido <candido.ale@gmail.com>
2024-02-15 12:22:45 +08:00
Vinitha-balachandran
fb76621bc4 Update src/qibotn/backends/cpu.py
Co-authored-by: Alessandro Candido <candido.ale@gmail.com>
2024-02-15 12:22:45 +08:00
Alessandro Candido
67773df477 chore: Enforce naming conventions on module files 2024-02-15 12:22:45 +08:00
pre-commit-ci[bot]
898ca877e9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-15 12:22:45 +08:00
yangliwei
b432be6d9c Minor black formatting 2024-02-15 12:20:58 +08:00
vinitha-balachandran
5e8c9d19ab minor update of initial state 2024-02-15 12:20:58 +08:00
vinitha-balachandran
03c9c6add7 fixed error caused by initial_state 2024-02-15 12:19:36 +08:00
vinitha-balachandran
94d0370408 fixed error caused by missing qasm str error 2024-02-15 12:19:36 +08:00
tankya2
0a013d371e Remove unused variable 2024-02-15 12:19:36 +08:00
vinitha-balachandran
028ff8528b fixed some bugs 2024-02-15 12:19:36 +08:00
vinitha-balachandran
8e9e587163 added missing docstring 2024-02-15 12:17:58 +08:00
vinitha-balachandran
9b9f359363 removed __main__.py as it is no longer used 2024-02-15 12:17:58 +08:00
vinitha-balachandran
91b83c22eb removed quimb.py as it is duplicate of eval_qu.py 2024-02-15 12:17:58 +08:00
yangliwei
c7ec0f40da Format update using black formatter 2024-02-15 12:11:23 +08:00
vinitha-balachandran
2861467328 renamed function 'eval' to 'dense_vector_tn_qu' 2024-02-15 12:09:35 +08:00
vinitha-balachandran
a6af0fb25a Added quimb backend 2024-02-15 12:09:35 +08:00
vinitha-balachandran
802dde6e57 Added class for quimb backend 2024-02-15 12:09:35 +08:00
tankya2
0ac65c216e Remove not required Numba backend 2024-02-15 12:09:35 +08:00
tankya2
a61ac21dd4 Remove print [skip CI] 2024-02-15 12:09:35 +08:00
tankya2
09c741ea80 Tidy up 2024-02-15 12:09:35 +08:00
tankya2
50f1fcd6e8 Add more documentation 2024-02-15 12:01:33 +08:00
tankya2
d1888cf4a7 Remove backend 2024-02-15 12:01:33 +08:00
tankya2
05f8523649 Update to allow user to set MPS parameters and to set Pauli string pattern 2024-02-15 12:01:33 +08:00
tankya2
784b1a70ef Allow user to specify Pauli string pattern for expecation calculation [skip CI] 2024-02-15 12:01:33 +08:00
tankya2
928f99e336 Remove print [skip CI] 2024-02-15 12:01:33 +08:00
tankya2
182dc4b00f Use runcard to select compute type as no other way to pass in para wout changing struct 2024-02-15 12:01:33 +08:00
tankya2
c43170ffa4 Rename expectation function name 2024-02-15 12:01:33 +08:00
tankya2
34acff9363 Change execute_circuit inputs 2024-02-15 12:01:33 +08:00
tankya2
6bdf100b3b Update function call name [skip CI] 2024-02-15 12:01:33 +08:00
tankya2
93514a51f6 Rename function name to be more descriptive [skip CI] 2024-02-15 12:01:33 +08:00
tankya2
8157557fdc Add condition to trigger expectation calculation 2024-02-15 11:34:46 +08:00
tankya2
f9b9e5f531 Rename to better reflect function of file 2024-02-15 11:34:46 +08:00
tankya2
15bab605a2 Format with black 2024-02-15 11:34:46 +08:00
tankya2
9bca7a0614 Rename eval_tn_MPI_2_expectation to eval_tn_MPI_expectation 2024-02-15 11:34:46 +08:00
tankya2
1c61fa4b66 Remove eval_tn_MPI_expectation 2024-02-15 11:34:46 +08:00
tankya2
34bfe15909 Rename eval_tn_MPI_2 to eval_tn_MPI 2024-02-15 11:34:46 +08:00
tankya2
a6c63ede92 Remove eval_tn_mpi 2024-02-15 11:34:46 +08:00
tankya2
97fa6664a5 Remove eval_tn_mpi 2024-02-15 11:34:46 +08:00
tankya2
c04a009df3 Rename function call 2024-02-15 11:34:46 +08:00
Liwei Yang
8d20587b20 Finish CuTensorNet class for cuQuantum cutensornet 2024-02-15 11:34:46 +08:00
Liwei Yang
388afffa72 Add CPU and GPU into backends 2024-02-15 11:34:46 +08:00