Commit Graph

505 Commits

Author SHA1 Message Date
Alessandro Candido
66dc9ea443 ci: Remove unused workflow input 2024-02-16 10:14:41 +01:00
Alessandro Candido
5cb384cae3 ci: Move workflow to Poetry 2024-02-16 10:13:26 +01:00
Alessandro Candido
e12bc0fdc2 chore: Poetry lock 2024-02-16 08:57:32 +01:00
pre-commit-ci[bot]
c21935a71f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-16 07:42:08 +00:00
tankya2
bea3af6f77 Make datatype a constant dict 2024-02-16 15:41:46 +08:00
Alessandro Candido
8daa52c6ff build: Remove setup.py, replaced by poetry build 2024-02-16 08:04:00 +01:00
Alessandro Candido
4e30c8e344 build: Remove cuda poetry group
Since redundant with the corresponding extra, that is the appropriate space for it
2024-02-16 08:02:56 +01:00
Alessandro Candido
e9702c1136 build: Standardize metadata 2024-02-16 08:00:52 +01:00
Alessandro Candido
2e1d943ec3 fix: Add Qibo dependency in Poetry 2024-02-16 08:00:52 +01:00
Alessandro Candido
b6752dd5f7 fix: Turn cuda into a pip extra (from a Poetry group) 2024-02-16 08:00:52 +01:00
Alessandro Candido
2de7a65d02 build: Make dependency groups optional 2024-02-16 08:00:52 +01:00
Alessandro Candido
eec44f0621 build: Introduce Poetry 2024-02-16 08:00:52 +01:00
tankya2
5c24cc34c5 Rename function 2024-02-16 14:56:07 +08:00
tankya2
91f46f048b Improve code conciseness 2024-02-16 14:54:09 +08:00
Alessandro Candido
736a8123ca fix: Fix outdated imports 2024-02-15 17:42:22 +01:00
Alessandro Candido
d4e718f7a3 chore: Improve readme 2024-02-15 16:50:39 +01:00
Alessandro Candido
bcad37551d ci: Ignore dependencies missing in CI in Pylint 2024-02-15 11:17:17 +01:00
yangliwei
32679b2b72 Merge branch 'qibotn_integration' of github.com:qiboteam/qibotn into qibotn_integration 2024-02-15 12:32:38 +08:00
yangliwei
f64c876bee Minor fix to the use of env for CUDA_PATH in the workflow 2024-02-15 12:22:45 +08:00
tankya2
d7f1241419 Update filename 2024-02-15 12:22:45 +08:00
tankya2
2b6345c8ca Take out repeat codes 2024-02-15 12:22:45 +08:00
vinitha-balachandran
edf64ebeb3 updated set_backend for quimb 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
yangliwei
51dc6011c7 Use CUDA_PATH as the if conditional for running workflow jobs 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
Alessandro Candido
3943b91f21 chore: Pre-commit all files once more 2024-02-15 12:22:45 +08:00
Alessandro Candido
906cc8b021 chore: Revert additional deps in pre-commit hooks, apparently not needed
The problem could have been caused by a corrupted cache. However, it does not persist after a force clean
2024-02-15 12:22:45 +08:00
Alessandro Candido
dd321697b0 fix: Fix dependencies issues introducing additional ones 2024-02-15 12:22:45 +08:00
Alessandro Candido
10efdad45f build: Add Nix 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
yangliwei
3af7cd1d3d Minor update for consistency 2024-02-15 12:20:58 +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
tankya2
5131215807 Add in tensor network types 2024-02-15 12:19:36 +08:00
vinitha-balachandran
03c9c6add7 fixed error caused by initial_state 2024-02-15 12:19:36 +08:00
yangliwei
c861a13035 Minor naming update 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
nitinshivaraman
36d8391ff2 Rename test_qasm_quimb_backend.py to test_quimb_backend.py for better readability 2024-02-15 12:19:36 +08:00
tankya2
0ba6c3ec9a Update sample codes to include Quimb 2024-02-15 12:19:36 +08:00
tankya2
0a013d371e Remove unused variable 2024-02-15 12:19:36 +08:00