Commit Graph

53 Commits

Author SHA1 Message Date
Liwei Yang
00b6540ea6 Minor inlining update 2023-04-21 10:58:19 +08:00
Liwei Yang
88710f54f3 Minor refactoring for conciseness 2023-04-21 10:42:20 +08:00
Liwei Yang
f36a7a75a9 Minor typo fix 2023-04-19 17:33:16 +08:00
Liwei Yang
fae91374a0 Minor update with black formatting 2023-04-19 17:02:41 +08:00
tankya2
af19917071 Updated function call 2023-04-19 16:44:53 +08:00
tankya2
444a7d4a9f Merge branch 'cuQuantum_cuTensorNet' of https://github.com/qiboteam/qibotn into cuQuantum_cuTensorNet 2023-04-19 16:31:09 +08:00
tankya2
e849e6926b Added comments and refactor codes 2023-04-19 16:28:05 +08:00
Liwei Yang
e517b4fe7c Avoid flatten() so as to keep the shape information of contraction results 2023-04-19 16:23:59 +08:00
Liwei Yang
5bfa1d9f52 Remove unused imports 2023-04-19 15:21:24 +08:00
Liwei Yang
820744e57e Remove unused functions 2023-04-19 15:19:26 +08:00
Liwei Yang
bea6b1c166 Remove the test in __main__.py because the test has been moved into folder 2023-04-19 15:09:01 +08:00
Liwei Yang
d86eaf0134 Fix the import error for QiboCircuitConvertor 2023-04-19 15:00:43 +08:00
Liwei Yang
a50cb76fdb Remove unnecessary aliases 2023-04-19 10:32:17 +08:00
Liwei Yang
c592c6018a Make the import statement more concise 2023-04-19 10:13:30 +08:00
tankya2
aee995802f Add datatype as an input in eval() [skip ci] 2023-04-18 11:34:00 +08:00
tankya2
c05fe12e46 Updated with pytest script for testing 2023-03-21 15:17:29 +08:00
tankya2
74880c3777 Change the call to main to cuQuantum 2023-02-22 10:37:41 +08:00
tankya2
7650e5b904 Merge branch 'cuQuantum_cuTensorNet' of https://github.com/qiboteam/qibotn into cuQuantum_cuTensorNet 2023-02-22 10:24:24 +08:00
tankya2
a2ee2eeb99 Update to make codes clearer 2023-02-22 09:55:15 +08:00
tankya2
93ec07c237 Changed contract() input to interleaved format 2023-02-17 08:27:36 +01:00
tankya2
3b00c81330 Format change using Black 2023-02-17 08:27:35 +01:00
tankya2
bed3a50be5 Created run_bench to get rid of repeated test code 2023-02-17 08:26:44 +01:00
tankya2
6838faba33 Qibo circuit convertor 2023-02-17 08:22:08 +01:00
Alessandro Candido
662adfe158 Drop circuit-specific dedicated handling for swaps 2023-02-16 08:24:06 +01:00
Alessandro Candido
0af53d1ab0 Drop gate definition parser 2023-02-16 08:24:06 +01:00
Alessandro Candido
bdecea17ed Clean up tests 2023-02-16 08:24:06 +01:00
Alessandro Candido
250c41bf4d Start reworking qasm parser 2023-02-16 08:24:06 +01:00
Alessandro Candido
c07d9bf6c9 Drop previous parser 2023-02-16 08:24:06 +01:00
Liwei Yang
53382b8184 Use autopep8 for PEP-8 formatting 2023-02-15 17:28:06 +08:00
Nitin Shivaraman
bc13eed8f4 Added newline at the end of the file; fixed the arguments for eval_qft function in main file. 2023-02-14 21:42:05 +08:00
Nitin Shivaraman
2e8e13aa0c Updates to test file and library file to keep module and testing
functions separate. The Config file needs to be reviewed to either change it to json or other
formats.
2023-02-14 21:32:33 +08:00
Liwei Yang
d3e0e113b0 Add the end-of-line new line back as per autopep8 formatter 2023-02-14 17:51:00 +08:00
tankya2
dc362bd992 Changed contract() input to interleaved format 2023-02-14 14:54:51 +08:00
liwei
7849ec7a2a Merge branch 'main' into qasm_with_quimb_backend 2023-02-13 18:39:24 +08:00
Liwei Yang
23babbd3a8 Put the initialization of states into a function to facilitate testing 2023-02-13 17:41:59 +08:00
tankya2
98fa7650c1 Format change using Black 2023-02-13 14:33:58 +08:00
tankya2
9890d1ffed Created run_bench to get rid of repeated test code 2023-02-13 14:14:53 +08:00
tankya2
3c706e692d Qibo circuit convertor 2023-02-10 16:31:17 +08:00
Nitin Shivaraman
877e7851b9 Moved quimb calls into a separate core function 2023-02-10 00:19:37 +08:00
Nitin Shivaraman
0e4f01264c Refactor lamda and lamba to lambda_ 2023-02-09 23:37:13 +08:00
Liwei Yang
9ab7f5ec58 Remove printing of execution time. 2023-02-09 18:56:43 +08:00
Liwei Yang
75d21d46a3 Remove unused pnjit decorator 2023-02-09 16:34:31 +08:00
Alessandro Candido
82e8e872c0 Fix and silence Pylint errors 2023-02-07 12:42:44 +01:00
Alessandro Candido
f595c268ad Solve trivial Pylint errors 2023-02-07 10:19:43 +01:00
Alessandro Candido
5c6f056228 Split original module 2023-02-07 09:41:39 +01:00
Liwei Yang
9dc59cf14d Remove the circuit comparison notebook from the quimb support PR 2023-02-07 11:54:05 +08:00
Nitin Shivaraman
2fbdfecb34 Fix maximum line length 2023-02-06 20:05:18 +08:00
Nitin Shivaraman
a148fab2f2 Code clean up 2023-02-06 18:06:05 +08:00
Liwei Yang
7554086d6e Add argparse for parsing args, do clean-up. 2023-02-03 13:50:53 +08:00
yangliwei
2fb08c51ed Add the circuit comparison notebook. 2022-07-21 14:15:49 +08:00