-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide option to assume zero initial state in ansatz generation (#10)
* Provide option to assume zero initial state in ansatz generation The ansatz begins with ZXZ decompositions, but the first RZGate on each qubit has no effect if acting on the initial state. So, this adds an option to remove that parameter on each qubit. It's left as an option since it does not make sure to do in the case of unitary AQC. I'm definitely open to discussing the name of the option. TODO - [ ] add new argument to docstring * I like these test names better * Update name to `qubits_initially_zero` * Use `qubits_initially_zero=True` in workflow test
- Loading branch information
Showing
3 changed files
with
31 additions
and
7 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