Commit Graph

21 Commits

Author SHA1 Message Date
tankya2
17f7ec3431 Update variable naming 2025-09-04 10:35:27 +08:00
pre-commit-ci[bot]
256138d875 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-09-03 02:18:44 +00:00
tankya2
b72f6afe49 Make tolerance a variable 2025-09-03 10:18:13 +08:00
tankya2
99fbabb9c8 Make subtest description more self-explanatory 2025-09-03 10:06:39 +08:00
pre-commit-ci[bot]
b654e81776 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-08-27 03:08:36 +00:00
tankya2
58721ca974 Add pytest gpu mark 2025-08-27 11:08:16 +08:00
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
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
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
Liwei Yang
13549ac90d Use a numpy array for the result state representation 2023-12-13 15:14:58 +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