Commit Graph

607 Commits

Author SHA1 Message Date
Mattia Robbiano
8d97fa3d07 Merge pull request #2 from mattia-robbiano/exp_corrections
Dynamic Inheritance
2025-09-23 18:20:05 +02:00
BrunoLiegiBastonLiegi
9a06926105 merge main 2025-09-23 18:19:42 +02:00
BrunoLiegiBastonLiegi
715d100136 fix: removed comments 2025-09-23 18:07:50 +02:00
BrunoLiegiBastonLiegi
ab10b13d9b feat: dynamically inheriting with quimb 2025-09-23 17:57:00 +02:00
BrunoLiegiBastonLiegi
2b5fca800c fix: some small corrections 2025-09-23 16:27:29 +02:00
Mattia Robbiano
1202091191 fixed issue with measure gates name and expectation function type hint 2025-09-23 01:44:44 +02:00
Mattia Robbiano
82fcffb1ad update notebook 2025-09-23 01:42:20 +02:00
Mattia Robbiano
ec07b8ea86 refactored execute. The observable is now passed as lists of operators, coefficients and qubits. Implemented functions for handling conversion from Pauli string to quimb operator and coefficients. Fixed: error in parameters handing in expectation. Fixed GATE_MAP to match the common observables 2025-09-23 00:41:19 +02:00
Mattia Robbiano
386891ee1a updaged examples 2025-09-23 00:37:11 +02:00
Mattia Robbiano
271a44576d fixing parametrization flag and updating relevant test scripts 2025-09-20 17:00:07 +02:00
Mattia Robbiano
9853e86deb fixing grad nan 2025-09-20 15:15:40 +02:00
Mattia Robbiano
63266c5ba0 refactor: added function for converting qibo circuit to quimb circuit directly. modified expectation making use of it. added new test script. 2025-09-20 00:18:32 +02:00
pre-commit-ci[bot]
064cff6b33 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-09-09 11:17:49 +00:00
Mattia Robbiano
641277c62b added tests for quimb backend 2025-09-09 12:47:37 +02:00
Mattia Robbiano
b7c26f5a2a added cotengra cash exclusion 2025-09-08 18:26:54 +02:00
Mattia Robbiano
5e141b200a feat: added expectiation function to compute expectation value of a symbolic hamiltonian using quimb backend. Added function to convers Qibo symbolic hamiltonian in Quimb compatible list of observables. Added a grouping function to combine in a single list local observables acting on the same qubits, to allow Quimb to compute them all in a single contraction (not working for MPS ansatz). Also added argument in setup_backend_specifics to specify an optimizer. 2025-09-08 18:25:08 +02:00
Mattia Robbiano
1fa1730fb3 fix: prevent error when nshots=None. In that case frequencies and probabilities are set to None 2025-09-05 17:18:18 +02:00
Renato M S Farias
9ba74b58a0 Merge pull request #102 from qiboteam/security_update
Update `ipython` version
2025-08-29 06:17:47 +00:00
Stefano Carrazza
e553bd28f7 Merge pull request #104 from qiboteam/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2025-08-12 07:39:56 +04:00
pre-commit-ci[bot]
a133a5d691 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0)
2025-08-11 21:36:54 +00:00
MatteoRobbiati
f0b28d87c4 fix: remove runcard argument from qmatchatea backend and fix self.precision in the same backend 2025-07-30 10:05:45 +02:00
MatteoRobbiati
374d7b3f8c chore: updating deps, expecially qmatchatea extras 2025-07-30 10:04:56 +02:00
Stefano Carrazza
84de79a892 Update pyproject.toml 2025-06-20 14:20:00 +02:00
Renato Mello
b2f454427b update ipython 2025-06-04 16:17:16 +04:00
Matteo Robbiati
9dd01163fa Merge pull request #99 from mattia-robbiano/quimb_backend_refactor
refactor: standardized quimb interface with qmatchatea
2025-05-29 15:49:05 +02:00
pre-commit-ci[bot]
dff0f1cf8f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-29 13:27:37 +00:00
Mattia Robbiano
f9d1d0b6b0 refactor adapted to pull request comments 2025-05-29 15:25:44 +02:00
Stefano Carrazza
4a16d2fdc8 Merge pull request #100 from qiboteam/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2025-05-27 08:05:33 +08:00
pre-commit-ci[bot]
897abfc13c [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.19.1 → v3.20.0](https://github.com/asottile/pyupgrade/compare/v3.19.1...v3.20.0)
2025-05-26 20:23:51 +00:00
pre-commit-ci[bot]
5c249cb727 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-05-23 22:54:47 +00:00
Mattia Robbiano
f0828c946b refactor: standardized quimb interface with qmatchatea 2025-05-24 00:51:55 +02:00
Stefano Carrazza
56d3c38cbf Update pyproject.toml 2025-04-23 07:21:49 -03:00
Stefano Carrazza
5db2dcbb9e Merge pull request #96 from qiboteam/deps
Update deps to support Python 3.13, Numpy 2.0 and Qmatchatea 1.4.3
2025-04-23 06:40:33 -03:00
Stefano Carrazza
bdf34283aa Merge pull request #95 from qiboteam/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2025-04-23 06:39:58 -03:00
MatteoRobbiati
52c5a5d5fc ci: include py 3.13 2025-04-22 11:06:23 +02:00
MatteoRobbiati
3b8a978a4c chore: updating dependencies to support qmatchatea 1.4.3 and align with cineca baseline 2025-04-10 16:29:27 +02:00
MatteoRobbiati
95092dd4da ci: rm python 3.9 and 3.10 from workflows 2025-04-10 16:28:38 +02:00
pre-commit-ci[bot]
7170968a58 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pycqa/isort: 6.0.0 → 6.0.1](https://github.com/pycqa/isort/compare/6.0.0...6.0.1)
2025-03-03 21:01:41 +00:00
Stefano Carrazza
9a60bf4acb Update pyproject.toml 2025-02-17 12:37:17 +01:00
Stefano Carrazza
53b5823163 Merge pull request #92 from qiboteam/restore
Back to notebook in examples folder
2025-02-17 12:33:12 +01:00
Stefano Carrazza
80f787af35 disabling nbsphinx 2025-02-17 12:11:59 +01:00
MatteoRobbiati
af782efefc refactor: use direct link to notebook 2025-02-17 11:42:26 +01:00
MatteoRobbiati
3237be40c0 refactor: move notebook back to examples 2025-02-17 11:32:49 +01:00
MatteoRobbiati
84eb522a61 fix poetry lock 2025-02-17 11:28:38 +01:00
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