This node calculates the squared expectation value of any operator with regard to an arbitrary state. For an operator $\hat{O}$ and state $\psi$, this node calculates $\langle \psi | \hat{O}^2 | \psi \rangle$.
The node has the following inputs:
The node displays the squared expectation value of the operator.
In the example below, the squared expectation value of the position operator is calculated with regard to a non-stationary state and displayed in the node.