Using PennyLane
Development
API
Internals
identity
Returns 1.
the Fock state expectation and variance
tuple