Integration

Calculates the integral $\int_a^b |\psi|^2 dx$ of the norm squared of a state

Inputs

• x: spatial dimension - the spatial dimension to integrate over.
• $\psi$: state - the state to integrate

Outputs

• Scalar: real number - the resulting integral

Content

The node can show a plot visualising the integral by checking the "Show plot" checkbox.

The limits of integration can be set with the two textboxes in the bottom