-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for Trace Computation (#628)
## Description This PR introduces improvements for the trace computation: 1. Adds a compute table for storing results of eliminated nodes during (partial) trace computation - this allows the full trace computation to scale linearly with the number of nodes - however, the partial trace computation still scales with the number of paths in the DD if the bottom qubits are to be eliminated: non-eliminated nodes cannot be stored in the compute table, as this would prevent their proper elimination in subsequent trace calls 2. Normalizes the result Fixes #336 ## Checklist: <!--- This checklist serves as a reminder of a couple of things that ensure your pull request will be merged swiftly. --> - [x] The pull request only contains commits that are related to it. - [x] I have added appropriate tests and documentation. - [x] I have made sure that all CI jobs on GitHub pass. - [x] The pull request introduces no new warnings and follows the project's style guidelines. --------- Co-authored-by: burgholzer <burgholzer@me.com>
- Loading branch information
1 parent
8b55942
commit 35e06ca
Showing
3 changed files
with
200 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters