Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytorch backend #1202

Merged
merged 144 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
e7ef8f5
pytorch backend from tf backend
Simone-Bordoni Feb 8, 2024
f03d88f
added in backend constructor
Simone-Bordoni Feb 8, 2024
752b049
update dependencies
Simone-Bordoni Feb 8, 2024
e735a80
disable pylint error
Simone-Bordoni Feb 8, 2024
c70bfb5
disable pylint
Simone-Bordoni Feb 8, 2024
59e6fec
update `conftest`
renatomello Feb 9, 2024
15f9c16
renato suggested improvement and torch.dtype
Simone-Bordoni Feb 9, 2024
23106ae
error in to_numpy method
Simone-Bordoni Feb 9, 2024
4676d8d
improve cast function to accept also a list of tensors
Simone-Bordoni Feb 9, 2024
2d2e859
partial error correction
Simone-Bordoni Feb 9, 2024
3d51120
solved compatibility in callbacks
Simone-Bordoni Feb 9, 2024
b69eaab
pytorch backend not supported for clifford
Simone-Bordoni Feb 9, 2024
8385ffa
other tests solved
Simone-Bordoni Feb 9, 2024
791b458
solved errors in gates
Simone-Bordoni Feb 9, 2024
f067c9a
solved many errors
Simone-Bordoni Feb 12, 2024
a5e81e8
muted tests of hamiltonians with pytorch backend
Simone-Bordoni Feb 12, 2024
2ecb9de
Merge branch 'master' into pytorch_backend
renatomello Feb 13, 2024
8459afa
parameterized matrices redefined and self.torch
Simone-Bordoni Feb 13, 2024
1980f45
improve code
Simone-Bordoni Feb 13, 2024
db2e2ed
Merge branch 'master' into pytorch_backend
Simone-Bordoni Feb 13, 2024
6924f85
Merge branch 'master' into pytorch_backend
renatomello Feb 14, 2024
d4f82d7
Merge branch 'master' into pytorch_backend
renatomello Feb 14, 2024
df602ff
Merge branch 'master' into pytorch_backend
renatomello Feb 16, 2024
ba45624
fix `poetry.lock`
renatomello Feb 16, 2024
fcb9937
dtype
Simone-Bordoni Feb 13, 2024
977afe5
use _cast in torchmatrices
Simone-Bordoni Feb 16, 2024
f0c1297
minor syntax
renatomello Feb 16, 2024
bbffcee
minor syntax fix
renatomello Feb 16, 2024
72d4b2a
Merge branch 'master' into pytorch_backend
renatomello Feb 16, 2024
bd353e5
corrections by renato and fixed error with check_unitary
Simone-Bordoni Feb 16, 2024
b105cec
test disabling lint
renatomello Feb 19, 2024
2ee5003
fix `cast`
renatomello Feb 19, 2024
56b4391
fixing `cast` issues
renatomello Feb 19, 2024
a6e30d4
rewrite `to_numpy`
renatomello Feb 19, 2024
bfcbd21
skip `clifford` tests
renatomello Feb 19, 2024
d782ee4
fix `quantum_info.entropies`
renatomello Feb 19, 2024
c417311
unitary check
renatomello Feb 19, 2024
1001f2c
random ensembles
renatomello Feb 19, 2024
140df11
fix tests
renatomello Feb 19, 2024
8ade072
superoperator transformations
renatomello Feb 19, 2024
b075eea
quantum networks
renatomello Feb 19, 2024
66c52cb
Merge branch 'master' into pytorch_backend
renatomello Feb 20, 2024
259e6bc
fix `CSXDG` issue by updating `poetry.lock`
renatomello Feb 21, 2024
0f2804d
change self.np to torch and eliminate redundant functions
Simone-Bordoni Feb 23, 2024
6e10026
solved tests and removed duplicate functions
Simone-Bordoni Feb 23, 2024
a52b25c
solved errors
Simone-Bordoni Feb 23, 2024
fad9c62
disable pylint
renatomello Feb 24, 2024
46d322f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2024
4b2da00
fix spelling error
renatomello Feb 24, 2024
b9c573d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2024
4e2835d
`pylint` suggestions
renatomello Feb 24, 2024
c9c7bf4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2024
5c504be
Merge branch 'master' into pytorch_backend
renatomello Feb 26, 2024
8fe4bf2
solved errors on gates
Simone-Bordoni Feb 26, 2024
225903e
rewrite fix
renatomello Feb 26, 2024
980ea0f
Merge branch 'master' into pytorch_backend
renatomello Feb 27, 2024
e13c382
solved errors on measurements
Simone-Bordoni Feb 27, 2024
87cd0a8
redefine permute to work both for pytorch and numpy
Simone-Bordoni Feb 28, 2024
d63fef0
solved errors
Simone-Bordoni Feb 28, 2024
23ccda9
solved errors in evolution
Simone-Bordoni Feb 28, 2024
b3b9bff
corrections by renato and other errors solved
Simone-Bordoni Feb 29, 2024
faef0b3
minor fix for tensorflow
renatomello Mar 1, 2024
c21cfde
solved errors
Simone-Bordoni Feb 29, 2024
ae55a4f
solved problem with torch.dot
Simone-Bordoni Mar 1, 2024
428d657
solved all errors
Simone-Bordoni Mar 1, 2024
a5cf623
Merge branch 'master' into pytorch_backend
renatomello Mar 2, 2024
4f9fc2a
merge
renatomello Mar 2, 2024
e9370a9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 2, 2024
3578c2c
fix merge issue
renatomello Mar 2, 2024
2533157
update poetry
renatomello Mar 2, 2024
a555f6c
fix test
renatomello Mar 2, 2024
0e97353
fix clifford test
renatomello Mar 2, 2024
f8a1faa
flip test order
renatomello Mar 2, 2024
5676ebb
fix test seed
renatomello Mar 3, 2024
b714faf
Merge branch 'master' into pytorch_backend
renatomello Mar 5, 2024
ba8a67a
Update src/qibo/quantum_info/utils.py
renatomello Mar 5, 2024
2a7c7ca
Update src/qibo/quantum_info/utils.py
renatomello Mar 5, 2024
18fd854
fix test
renatomello Mar 5, 2024
25ba22d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 5, 2024
3157dbb
corrections
Simone-Bordoni Mar 5, 2024
f0b0fcf
solved error
Simone-Bordoni Mar 5, 2024
ee1a76d
fix test seed
renatomello Mar 5, 2024
4c10f60
fix test
renatomello Mar 5, 2024
8d117ce
revert conj
renatomello Mar 6, 2024
ca80c39
Merge branch 'master' into pytorch_backend
renatomello Mar 6, 2024
c028892
update lock file
renatomello Mar 6, 2024
f3774c6
Merge branch 'master' into pytorch_backend
renatomello Mar 6, 2024
256f890
rename test file
renatomello Mar 6, 2024
de7c00d
fix bug
renatomello Mar 6, 2024
d290b30
fix test
renatomello Mar 6, 2024
12b3606
revert last commit
renatomello Mar 6, 2024
db2414e
fix dbi test
renatomello Mar 6, 2024
381bfbe
fix tests
Simone-Bordoni Mar 7, 2024
37f1be1
fix probabilistic tests and correction
Simone-Bordoni Mar 7, 2024
4e12663
other tests solved
Simone-Bordoni Mar 7, 2024
e648fca
pytorch test
renatomello Mar 8, 2024
2c30eb5
pytorch test
renatomello Mar 8, 2024
ff698e3
pytorch test
renatomello Mar 8, 2024
3235558
remove unnecessary methods
renatomello Mar 8, 2024
74959b5
remove unnecessary methods
renatomello Mar 8, 2024
099a4c9
fix dill test
renatomello Mar 8, 2024
884ff4a
fix clifford tests
renatomello Mar 8, 2024
ac9a0b2
fix dill test
renatomello Mar 8, 2024
c885bfe
trying to fix test
renatomello Mar 9, 2024
741379a
Merge branch 'master' into pytorch_backend
renatomello Mar 9, 2024
5736ef4
methods in same order as `NumpyBackend`
renatomello Mar 9, 2024
1906541
remove unnecessary functions
renatomello Mar 9, 2024
8d91ae2
f-string formatting
renatomello Mar 9, 2024
2cea316
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 9, 2024
ab535bc
f-string formatting
renatomello Mar 9, 2024
1e83f33
Merge branch 'pytorch_backend' of https://github.com/qiboteam/qibo in…
renatomello Mar 9, 2024
791dc60
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 9, 2024
e6c6c0f
bring methods back
renatomello Mar 9, 2024
0dd0cfb
bring back method
renatomello Mar 9, 2024
15d7950
revert back changes
renatomello Mar 9, 2024
a1ceee3
coverage
renatomello Mar 9, 2024
fd79d31
reviewing tests
renatomello Mar 9, 2024
14bb210
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 9, 2024
3ba35e8
documentation
renatomello Mar 9, 2024
d717494
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Mar 9, 2024
d0d7215
Merge branch 'master' into pytorch_backend
renatomello Mar 12, 2024
edeff3a
fix test seed
renatomello Mar 12, 2024
7c47114
Update src/qibo/backends/numpy.py
renatomello Mar 12, 2024
0ab3372
Update src/qibo/backends/pytorch.py
renatomello Mar 12, 2024
714fda2
Update src/qibo/hamiltonians/hamiltonians.py
renatomello Mar 12, 2024
055bfec
update `pyproject.toml`
renatomello Mar 12, 2024
64991eb
fix test seed
renatomello Mar 12, 2024
3c6258f
fix test seed
renatomello Mar 12, 2024
1ba37f9
fix test
renatomello Mar 12, 2024
b60d1f4
revert change
renatomello Mar 12, 2024
9c98169
corrections by andrea
Simone-Bordoni Mar 12, 2024
cdc4e78
fixes
Simone-Bordoni Mar 12, 2024
be31ee8
solved errors
Simone-Bordoni Mar 12, 2024
573008c
fix seed test
Simone-Bordoni Mar 12, 2024
a7a496d
improve calculate_hamiltonian_state_product method
Simone-Bordoni Mar 12, 2024
0e520db
remove unuseful method and invert changes on test seed
Simone-Bordoni Mar 12, 2024
671a791
fix seed in test
renatomello Mar 12, 2024
64ffb7b
Update src/qibo/backends/numpy.py
renatomello Mar 12, 2024
1f60c70
Merge branch 'master' into pytorch_backend
renatomello Mar 14, 2024
a4b7f75
fix coverage
renatomello Mar 14, 2024
86b4222
test global backend clifford
renatomello Mar 14, 2024
8ede3f2
corrections by Andrea
Simone-Bordoni Mar 14, 2024
05c1966
revert change
Simone-Bordoni Mar 14, 2024
07d28fa
finally fix this issue
renatomello Mar 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading