-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hamiltonian support for Circuit Cutting (#4642)
**Context:** `qml.cut_circuit` does not work for quantum circuits which computes the expectation values of Hamiltonians with more than one term. **Description of the Change:** Use `qml.transforms.hamiltonian_expand` to extend support for Hamiltonians. **Benefits:** Circuit cutting could be used on more realistic circuits. **Possible Drawbacks:** The Number of tapes to be computed increases and might give rise to possible overhead in the new scenario. **Related GitHub Issues:** --------- Co-authored-by: Romain Moyard <[email protected]>
- Loading branch information
1 parent
2086ce8
commit ea7e1d4
Showing
3 changed files
with
230 additions
and
1 deletion.
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