Commit Graph

613 Commits

Author SHA1 Message Date
Stefano Carrazza
83a8de53f5 adding nbsphinx dep 2025-02-13 11:17:37 +08:00
Stefano Carrazza
07b874b3c8 Merge pull request #89 from qiboteam/matcha_intro
Add notebook about introduction to qmatchatea backend to docs
2025-02-13 09:47:57 +08:00
MatteoRobbiati
fdb1482cf2 docs: mv notebook file from examples to docs 2025-02-12 17:01:18 +01:00
MatteoRobbiati
7d4b3e4360 doc: add qmatchateam intro example to the docs 2025-02-12 14:49:56 +01:00
MatteoRobbiati
230c6ff617 docs: refactoring the qmatchatea intro notebook 2025-02-12 14:38:24 +01:00
Stefano Carrazza
8ae77ce803 updating poetry deps 2025-02-12 20:54:17 +08:00
Matteo Robbiati
c22385de0b Merge pull request #86 from qiboteam/matcha
implementing the Quantum Matcha Tea backend
2025-02-12 13:27:24 +01:00
MatteoRobbiati
292d3573a6 feat: improve the configure_tn_simulation function so that we don't need to use external objects 2025-02-10 16:45:26 +01:00
MatteoRobbiati
5b63877876 refactor: adapt the example to the new expectation function 2025-02-10 13:20:35 +01:00
MatteoRobbiati
bb76e2b64d refactor: rewrite the expectation method using Qibo built in features 2025-02-10 13:17:19 +01:00
Matteo Robbiati
afc6c5d196 Update src/qibotn/backends/qmatchatea.py
Co-authored-by: BrunoLiegiBastonLiegi <45011234+BrunoLiegiBastonLiegi@users.noreply.github.com>
2025-02-10 12:53:28 +01:00
Matteo Robbiati
4683c607ed Update src/qibotn/result.py
Co-authored-by: BrunoLiegiBastonLiegi <45011234+BrunoLiegiBastonLiegi@users.noreply.github.com>
2025-02-10 12:50:04 +01:00
MatteoRobbiati
309fdc996b fix: importing QmatchateaBackend inside proper condition in the __init__ file 2025-02-10 12:48:21 +01:00
MatteoRobbiati
97d2c79300 doc: improve docstrings related to TensorNetworkResult 2025-02-10 12:17:37 +01:00
MatteoRobbiati
30c3bba23a fix: change the order or the inheritance to impose the correct __mro__ 2025-02-10 11:18:09 +01:00
MatteoRobbiati
a5f7d1fb14 refactor: make QibotnBackend abstract and inherit both this and NumpyBackend in Qibotn concrete backends 2025-02-10 10:49:30 +01:00
MatteoRobbiati
d854d15068 fix: add link to api reference 2025-02-10 10:43:29 +01:00
MatteoRobbiati
3e9189e49f refactor: probabilities are now returned as an array, being aligned with Qibo 2025-02-10 10:23:01 +01:00
MatteoRobbiati
d959c95535 Merge branch 'matcha' of github.com:qiboteam/qibotn into matcha 2025-02-10 10:12:47 +01:00
pre-commit-ci[bot]
938bf136f6 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-10 09:12:07 +00:00
Matteo Robbiati
72ba4165be Apply suggestions from code review
Co-authored-by: BrunoLiegiBastonLiegi <45011234+BrunoLiegiBastonLiegi@users.noreply.github.com>
2025-02-10 10:11:59 +01:00
MatteoRobbiati
39ed3ebbab doc: use qibo's GHZ state function 2025-02-10 10:07:26 +01:00
Renato Mello
5f9df4591c Merge pull request #88 from qiboteam/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2025-02-05 04:52:46 +00:00
MatteoRobbiati
65b60e0fb9 fix: probabilities method in result class 2025-02-04 11:20:46 +01:00
MatteoRobbiati
8b7bb9ee7c doc: improving the docs 2025-02-04 11:20:08 +01:00
pre-commit-ci[bot]
5a6a9bd2ce [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0)
2025-02-04 00:25:02 +00:00
MatteoRobbiati
f6992b489f Merge branch 'matcha' of github.com:qiboteam/qibotn into matcha 2025-02-03 17:19:54 +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
1036075c9c fix: probabilities results in case of prob_type=U 2025-02-03 17:18:48 +01:00
MatteoRobbiati
4a2362e0c1 feat: add set_device method to TN abstract backend 2025-02-03 16:57:50 +04:00
MatteoRobbiati
08ad49eb19 feat: make statevector calculation optional 2025-02-03 16:54:24 +04:00
MatteoRobbiati
67b900b621 fix: set config_backend as normal method and not abstract method (for now) 2025-02-03 12:11:39 +01:00
MatteoRobbiati
4cc14524e6 adapt pre-commit to qibo's one 2025-01-30 11:37:31 +01:00
MatteoRobbiati
29ca5044e9 test: add conftest and first observable test 2025-01-30 11:35:02 +01:00
MatteoRobbiati
e510c8b7e1 fix: conflicts in pre-commit config with main 2025-01-29 14:59:03 +01:00
MatteoRobbiati
13789e5e42 chore: aligning pre-commit with Qibo's 2025-01-29 14:56:09 +01:00
MatteoRobbiati
97a1568977 chore: updating pre-commit once more 2025-01-29 14:52:02 +01:00
MatteoRobbiati
a609dfaa10 chore: rerun pre-commit 2025-01-29 14:44:44 +01:00
MatteoRobbiati
ad40a8ba7a chore: updating lock 2025-01-29 14:37:48 +01:00
MatteoRobbiati
dc027645c2 doc: add example introduction to qmatchatea backend 2025-01-28 22:20:32 +01:00
MatteoRobbiati
66288ac6eb feat: add method to compute expectation values from symbolic form of hamiltonians 2025-01-28 22:16:52 +01:00
MatteoRobbiati
ce40c7b3f3 fix: TensorNetworkResult error raising 2025-01-28 22:16:11 +01:00
MatteoRobbiati
91b4b63130 refactor: move the imports outside of the backend init 2025-01-28 14:38:27 +01:00
MatteoRobbiati
6fe2c32c0d fix: removed unused default_runcard dictionary 2025-01-28 14:31:30 +01:00
MatteoRobbiati
1268888478 feat: TensorNetworkResult object implementation 2025-01-28 14:29:58 +01:00
MatteoRobbiati
85e2e3982a feat: improving execute_circuit method by adding a TensorNetworkResult object (which standardize the output with Qibo's) 2025-01-28 14:29:30 +01:00
Alessandro Candido
820ddbdff5 Merge pull request #87 from qiboteam/pre-commit-ci-update-config 2025-01-28 11:23:01 +01:00
pre-commit-ci[bot]
798d0abcce [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pycqa/isort: 5.13.2 → 6.0.0](https://github.com/pycqa/isort/compare/5.13.2...6.0.0)
- [github.com/PyCQA/docformatter: master → v1.7.5](https://github.com/PyCQA/docformatter/compare/master...v1.7.5)
2025-01-27 23:29:58 +00:00
MatteoRobbiati
429e15db5e feat: integrating qmatchatea SimulationResult in the circuit execution 2025-01-27 13:04:32 +01:00