Commit Graph

43 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
cf0a539d3d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-08-22 07:42:19 +00:00
tankya2
77c9cd9cd6 Rewrite test functions into higher level 2025-08-22 15:42:04 +08:00
tankya2
791c5d2020 Temporary diasble qmatchatea as it is giving error 2025-08-22 15:39:35 +08:00
pre-commit-ci[bot]
872312d00b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-08-13 11:29:51 +08:00
tankya2
106dfcb50e Add test for expectation and updates 2025-08-13 11:29:51 +08:00
MatteoRobbiati
3e9189e49f refactor: probabilities are now returned as an array, being aligned with Qibo 2025-02-10 10:23:01 +01:00
MatteoRobbiati
f420a94036 test: circuit execution 2025-02-03 17:19:39 +01:00
MatteoRobbiati
d15a3d952d refactor: renaming expectation test 2025-02-03 17:19:17 +01:00
MatteoRobbiati
29ca5044e9 test: add conftest and first observable test 2025-01-30 11:35:02 +01:00
vinitha-balachandran
891102f638 more compact form for mps settings 2024-03-01 07:25:08 +08:00
vinitha-balachandran
de92060180 Adding feature to pass MPS parameters in quimb 2024-02-23 14:48:30 +08:00
vinitha-balachandran
3b73a22e6a added flatten of state in pytest instead of using within eval_qu 2024-02-15 12:20:58 +08:00
nitinshivaraman
36d8391ff2 Rename test_qasm_quimb_backend.py to test_quimb_backend.py for better readability 2024-02-15 12:19:36 +08:00
vinitha-balachandran
8dd2333f76 added missing docstring 2024-02-15 12:19:36 +08:00
vinitha-balachandran
cddb59f5f4 renamed function 'eval' to 'dense_vector_tn_qu' in pytest 2024-02-15 12:11:23 +08:00
tankya2
93514a51f6 Rename function name to be more descriptive [skip CI] 2024-02-15 12:01:33 +08:00
tankya2
a0ad2af0c9 Change import from cutn to eval [skip CI] 2024-02-15 11:57:37 +08:00
pre-commit-ci[bot]
3a30d10ceb [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-13 00:24:33 +00:00
Vinitha Balachandran
c593965a59 Removed timing infrastructure from tests 2023-12-14 04:04:37 +08:00
Vinitha Balachandran
b779227846 Fixed result state mismatch for quimb 2023-12-13 16:16:22 +08:00
Liwei Yang
13549ac90d Use a numpy array for the result state representation 2023-12-13 15:14:58 +08:00
Nitin Shivaraman
60553bf2e9 Fixed the comments of the PR 2023-11-17 15:21:08 +08:00
nitinshivaraman
b26360539c Merge branch 'main' into mps-for-quimb 2023-11-02 17:29:46 +08:00
Liwei Yang
1c043d95f5 Minor formatting update 2023-11-02 17:17:56 +08:00
Nitin Shivaraman
3d359ebc1f MPS execution for quimb 2023-10-05 15:20:38 +08:00
Liwei Yang
b043e6a017 Add the pytest function for MPS in cuquantum. 2023-07-24 17:29:29 +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
4d36afb9ef Expose the precision dtype to the caller so that users can specify the precision for testing 2023-04-19 16:11:14 +08:00
Liwei Yang
725c92e75d Remove unused imports, format it using black 2023-04-19 15:12:08 +08:00
tankya2
aee995802f Add datatype as an input in eval() [skip ci] 2023-04-18 11:34:00 +08:00
tankya2
57414dfb44 added in decorator to mark GPU 2023-04-03 10:18:53 +08:00
tankya2
c05fe12e46 Updated with pytest script for testing 2023-03-21 15:17:29 +08:00
Alessandro Candido
662adfe158 Drop circuit-specific dedicated handling for swaps 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
46d7c30caf Adding config file to store the initial setup parameters 2023-02-14 21:36:08 +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
01a0d02bc2 Remove unneeded print() 2023-02-09 18:35:57 +08:00
Alessandro Candido
73a747f2bd Temporary solution to qiboteam/qibojit#107 in tests 2023-02-07 12:38:20 +01:00
Alessandro Candido
b8f09ddf36 provide suiitable test 2023-02-07 10:28:53 +01:00