qp.decomposition.gate_sets.IDENTITY¶
- IDENTITY = GateSet({GlobalPhase=0.0, Identity=0.0}, name='Identity')¶
The gate set that contains only the
Identityand theGlobalPhase.Note that
IdentityandGlobalPhaseboth have weights of0, indicating they are essentially free.
code/api/pennylane.decomposition.gate_sets.IDENTITY
Download Python script
Download Notebook
View on GitHub