-
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.
Update documentation of
TrotterProduct
regarding operands
and cir…
…cuit structure (#6629) **Context:** The decomposition logic of `TrotterProduct` relies on the `operands` attribute of the input `hamiltonian` argument. The documentation makes it sound like the `terms()` method of the `hamiltonian` is the used information to determine the circuit structure of the decomposition. Also, there is no example illustrating the logic behind these terms/operands being grouped when creating the circuit from `TrotterProduct`. **Description of the Change:** - Change wording from `terms` towards `operands` - Add example illustrating how the `operands` impact the created circuit. **Benefits:** Documentation clarity/extent **Possible Drawbacks:** N/A **Related GitHub Issues:** [sc-79003] --------- Co-authored-by: Jay Soni <[email protected]>
- Loading branch information
Showing
3 changed files
with
62 additions
and
15 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