# Identity¶

Module: pennylane

class Identity(wires)[source]

The identity observable $$\I$$.

The expectation of this observable

$E[\I] = \text{Tr}(\I \rho)$

corresponds to the trace of the quantum state, which in exact simulators should always be equal to 1.