-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate the gate definition from the propagators
**Changes** - Merge the duplicated `QubitCircuit.propagators` methods, using `expand_operators` to connect them. - Move the definition for gate operators to the `Gate` class, allowing define subclasses for them later. - Rename a previously undocumented `QubitCircuit.get_inds` method to `get_all_qubits` and add documentation. It was added recently but never documented.
- Loading branch information
Showing
3 changed files
with
175 additions
and
222 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
Oops, something went wrong.