Commit Graph

431 Commits

Author SHA1 Message Date
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
a0ad2af0c9 Change import from cutn to eval [skip CI] 2024-02-15 11:57:37 +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
tankya2
c2d2c8318f Format with black 2024-02-15 11:34:46 +08:00
tankya2
fe36a84e74 Updates to include expectation calculation 2024-02-15 11:34:46 +08:00
tankya2
c0ebe8803f Reverted back return_array to False 2024-02-15 11:34:46 +08:00
tankya2
8e1862eba5 Added initial state for Quimb 2024-02-15 11:34:46 +08:00
tankya2
f6f9e105a2 Added check for initial conditions 2024-02-15 11:34:46 +08:00
tankya2
18cda1253a add backend file 2024-02-15 11:34:46 +08:00
yangliwei
9b871794c9 Minor fix to the use of env for CUDA_PATH in the workflow 2024-02-14 14:50:27 +08:00
liwei
b2745578dd Merge pull request #27 from qiboteam/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2024-02-14 10:47:46 +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
pre-commit-ci[bot]
c119272470 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)
- [github.com/psf/black: 23.1.0 → 24.2.0](https://github.com/psf/black/compare/23.1.0...24.2.0)
- [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2)
- [github.com/asottile/pyupgrade: v3.3.1 → v3.15.0](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.15.0)
2024-02-13 00:23:55 +00:00
vinitha-balachandran
7f612d0f49 Merge branch 'qibotn_integration' of https://github.com/qiboteam/qibotn into qibotn_integration 2024-02-09 10:42:48 +08:00
vinitha-balachandran
a73b9e9a99 updated set_backend for quimb 2024-02-09 10:41:12 +08:00
tankya2
90b2cd6919 Update filename 2024-02-09 10:33:00 +08:00
tankya2
38764f7833 Take out repeat codes 2024-02-09 10:29:30 +08:00
vinitha-balachandran
ed686ee78a Merge branch 'qibotn_integration' of https://github.com/qiboteam/qibotn into qibotn_integration 2024-02-08 18:31:41 +08:00
vinitha-balachandran
9fc2c74a88 removing cpu.py as quimb.py is added 2024-02-08 18:31:32 +08:00
pre-commit-ci[bot]
fa0219e59f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-08 10:30:30 +00:00
vinitha-balachandran
27c11553c2 Merge branch 'qibotn_integration' of https://github.com/qiboteam/qibotn into qibotn_integration 2024-02-08 18:28:19 +08:00
vinitha-balachandran
b3a9abdcbd renaming cpu to quimb 2024-02-08 18:28:07 +08:00
pre-commit-ci[bot]
f86627451a [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-08 10:26:30 +00:00
vinitha-balachandran
7199dd6b0e renamed cpu to quimb and qutensornet to quimbbackend 2024-02-08 18:25:28 +08:00
Alessandro Candido
b232c94fbd fix: Fix indentation wrong level from review suggestion 2024-02-08 11:18:22 +01:00
yangliwei
07b4a799be Use CUDA_PATH as the if conditional for running workflow jobs 2024-02-08 18:13:35 +08:00
Vinitha-balachandran
9ea895bcfd Update src/qibotn/eval_qu.py
updated the changes

Co-authored-by: Alessandro Candido <candido.ale@gmail.com>
2024-02-08 18:00:23 +08:00
Vinitha-balachandran
6f7df9d924 Update src/qibotn/eval_qu.py
made changes

Co-authored-by: Alessandro Candido <candido.ale@gmail.com>
2024-02-08 17:59:56 +08:00
Vinitha-balachandran
a2e32c8873 Update src/qibotn/backends/cpu.py
Co-authored-by: Alessandro Candido <candido.ale@gmail.com>
2024-02-08 17:58:53 +08:00
Vinitha-balachandran
e58d176de4 Update src/qibotn/backends/cpu.py
Co-authored-by: Alessandro Candido <candido.ale@gmail.com>
2024-02-08 17:56:44 +08:00
Alessandro Candido
890b9d1c93 chore: Enforce naming conventions on module files 2024-02-08 10:30:22 +01:00
Alessandro Candido
1ed3832a37 Merge pull request #25 from qiboteam/pre-commit-all
Run pre-commit on all files
2024-02-08 10:19:49 +01:00