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

Implementing Exact Tensor Network method for default.tensor #5786

Merged
merged 48 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
ec873db
E.C. [ci skip]
PietropaoloFrisoni Jun 3, 2024
f3ef0ec
Adding new method and tests
PietropaoloFrisoni Jun 3, 2024
a1d2ef0
Improved error message and fixing pylint error
PietropaoloFrisoni Jun 3, 2024
049ceee
Merge branch 'master' into tn_method_default_tensor
PietropaoloFrisoni Jun 3, 2024
0eb2dfe
Updating descriptions and replacing 'tns' with 'tn'
PietropaoloFrisoni Jun 3, 2024
cbf7da1
Updating changelog
PietropaoloFrisoni Jun 3, 2024
9a8a470
Code Factor
PietropaoloFrisoni Jun 3, 2024
ea4e4e5
Testing doc rendering [ci skip]
PietropaoloFrisoni Jun 4, 2024
247d927
Testing doc rendering
PietropaoloFrisoni Jun 4, 2024
5b9dddf
Merge branch 'master' into tn_method_default_tensor
PietropaoloFrisoni Jun 4, 2024
889aa9b
solving doc warning
PietropaoloFrisoni Jun 4, 2024
54f76eb
Fixing doc attempt
PietropaoloFrisoni Jun 4, 2024
ff63232
Fixing doc attempt
PietropaoloFrisoni Jun 4, 2024
14a652b
Updating docs
PietropaoloFrisoni Jun 4, 2024
b9eb6e0
Testing doc rendering
PietropaoloFrisoni Jun 4, 2024
b9a3492
Adding options for `gate_contract` depending on method
PietropaoloFrisoni Jun 4, 2024
36fb972
TODO: add test for the draw method
PietropaoloFrisoni Jun 4, 2024
b4525c9
Merge branch 'master' into tn_method_default_tensor
PietropaoloFrisoni Jun 5, 2024
47a4bbb
Covering lines in tests
PietropaoloFrisoni Jun 5, 2024
83f0a89
Code factor
PietropaoloFrisoni Jun 5, 2024
da7e30c
Code factor
PietropaoloFrisoni Jun 5, 2024
86b51a5
WIP on doc
PietropaoloFrisoni Jun 5, 2024
0d1b866
Merge branch 'master' into tn_method_default_tensor
PietropaoloFrisoni Jun 5, 2024
a64fd82
Changing doc
PietropaoloFrisoni Jun 6, 2024
fa63c16
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Jun 6, 2024
5ead82d
Small updates [ci skip]
PietropaoloFrisoni Jun 6, 2024
bc69fd5
Added clarification in docstring
PietropaoloFrisoni Jun 6, 2024
451711d
Merge branch 'master' into tn_method_default_tensor
PietropaoloFrisoni Jun 6, 2024
4870890
`_initial_quimb_circuit` now returns a `quimb` instance instead of ch…
PietropaoloFrisoni Jun 6, 2024
e899ba5
Pylint must be happy
PietropaoloFrisoni Jun 6, 2024
f61c882
Forgot # pragma: no cover
PietropaoloFrisoni Jun 6, 2024
9bd0a9b
Suggestions from code reviews
PietropaoloFrisoni Jun 7, 2024
e7cf780
Measuring execution time for SV of circuit in doc
PietropaoloFrisoni Jun 7, 2024
993cd8c
Merge branch 'master' into tn_method_default_tensor
PietropaoloFrisoni Jun 7, 2024
82eee8d
Doc testing
PietropaoloFrisoni Jun 7, 2024
bc4b749
Removing subtitle in expandable doc section
PietropaoloFrisoni Jun 7, 2024
4ccb1d7
Merge branch 'master' into tn_method_default_tensor
PietropaoloFrisoni Jun 7, 2024
a9dbc86
Typo in doc
PietropaoloFrisoni Jun 9, 2024
469d042
Commenting on warnings raised by cotengra
PietropaoloFrisoni Jun 10, 2024
db9e6a9
Suggestions from code review
PietropaoloFrisoni Jun 10, 2024
e08a1f6
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Jun 10, 2024
b5b6c9a
Separating TN and MPS sections in doc
PietropaoloFrisoni Jun 10, 2024
9588660
Re-triggering CI
PietropaoloFrisoni Jun 10, 2024
5900d07
Additional example in the `draw` method
PietropaoloFrisoni Jun 12, 2024
0a2d904
Merge branch 'master' of https://github.com/PennyLaneAI/pennylane int…
PietropaoloFrisoni Jun 12, 2024
7378ef1
Fixing error in test caused by last commit
PietropaoloFrisoni Jun 12, 2024
e870d8f
Replacing `dtype` with `c_dtype`
PietropaoloFrisoni Jun 12, 2024
2168dc1
Merge branch 'master' into tn_method_default_tensor
PietropaoloFrisoni Jun 13, 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
6 changes: 4 additions & 2 deletions doc/releases/changelog-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

<h3>New features since last release</h3>

* The `default.tensor` device now supports the `tn` method to simulate quantum circuits using exact tensor networks.
[(#5786)](https://github.com/PennyLaneAI/pennylane/pull/5786)

* QROM template is added. This template allows you to enter classic data in the form of bitstrings.
[(#5688)](https://github.com/PennyLaneAI/pennylane/pull/5688)

Expand Down Expand Up @@ -44,10 +47,9 @@
Use `mcm_method="deferred"` to use the deferred measurements principle, or `mcm_method="one-shot"`
to execute once for each shot.

* The `default.tensor` device is introduced to perform tensor network simulation of a quantum circuit.
* The `default.tensor` device is introduced to perform tensor network simulations of quantum circuits using the `mps` (Matrix Product State) method.
[(#5699)](https://github.com/PennyLaneAI/pennylane/pull/5699)


<h3>Improvements 🛠</h3>

* The wires for the `default.tensor` device are selected at runtime if they are not provided by user.
Expand Down
Loading
Loading