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
|
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
|
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 |
|
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 |
|
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 |
|
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 |
|
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
|
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
|
3e9189e49f
|
refactor: probabilities are now returned as an array, being aligned with Qibo
|
2025-02-10 10:23:01 +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
|
65b60e0fb9
|
fix: probabilities method in result class
|
2025-02-04 11:20:46 +01:00 |
|
MatteoRobbiati
|
f6992b489f
|
Merge branch 'matcha' of github.com:qiboteam/qibotn into matcha
|
2025-02-03 17:19:54 +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
|
a609dfaa10
|
chore: rerun pre-commit
|
2025-01-29 14:44:44 +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 |
|
MatteoRobbiati
|
429e15db5e
|
feat: integrating qmatchatea SimulationResult in the circuit execution
|
2025-01-27 13:04:32 +01:00 |
|
MatteoRobbiati
|
508d5cd5e9
|
feat: integrating qmatchatea SimulationResult in the circuit execution
|
2025-01-27 13:03:27 +01:00 |
|
pre-commit-ci[bot]
|
80bfc7e876
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2025-01-27 11:29:47 +00:00 |
|
MatteoRobbiati
|
43ebd79cec
|
feat: add qmatchatea backend to __init__ backends file
|
2025-01-27 12:28:54 +01:00 |
|
MatteoRobbiati
|
a979d97891
|
feat: drafting qmatchatea backend
|
2025-01-27 12:28:19 +01:00 |
|
MatteoRobbiati
|
f1aec1f0bf
|
feat: abstract qibotn backend
|
2025-01-27 12:27:32 +01:00 |
|
MatteoRobbiati
|
773196fb2f
|
refactor: constructing an abstract QiboTN backend and adapt quimb and cutensornet
|
2025-01-27 12:26:30 +01:00 |
|
BrunoLiegiBastonLiegi
|
72f4841e5c
|
fix: removed toplevel cuquantum import
|
2024-04-10 11:04:05 +02:00 |
|
BrunoLiegiBastonLiegi
|
ed74bef094
|
fix: import raise_error
|
2024-04-10 10:26:38 +02:00 |
|
BrunoLiegiBastonLiegi
|
c32217628e
|
feat: implemented metabackend
|
2024-04-10 10:25:39 +02:00 |
|
vinitha-balachandran
|
628160c79b
|
Fix in mps_enabled settings
|
2024-03-07 15:14:09 +08:00 |
|
tankya2
|
a9730aaeab
|
Remove none type from docstring
|
2024-03-04 18:29:35 +08:00 |
|
vinitha-balachandran
|
16aef2b3f2
|
Minor fix to docstring in quimb.py
|
2024-03-04 16:12:50 +08:00 |
|
pre-commit-ci[bot]
|
631231f933
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-03-04 08:09:34 +00:00 |
|