forked from quantumlib/Cirq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GridDevice gateset, gate_duration, and compilation_target_gateset sup…
…port (quantumlib#5315) * GridDevice gateset, gate_duration, and compilation_target_gateset support * Displays a warning about old Cirq version if DeviceSpecification contains gates not recognized by the client. * Added compilation target gateset example in GridDevice docstring * Addresses Tanuj's comments * Added GridDevice docstring comment about WaitGates. I avoided mentioning the alternative of inserting no_compile tags because transforming a circuit which contains WaitGates is the wrong approach as all delays would be scrambled by the transformation. * Set gate_duration to None if the spec doesn't have duration info * Addressed Doug's comments * Addressed Tanuj's 2nd round of comments * Break FSimGateFamily into one for each 2q gate type
- Loading branch information
Showing
2 changed files
with
190 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