Several nodes in the Composer allow for writing mathematical expressions. This page outlines the allowed expressions.
Note: spaces are ignored in expressions, so they can be placed whereever.
Numerical simulations tend to dislike hard bounds. Below are soft versions of the above steps and boxes. Higher values of hardness (h) gets close to completely hard steps.
You are free to write any arbitary potential or wavefunction, e.g.
where a is set by a scalar node.
pi = 3.14159265358979323846
i = 0+1i
e = exp(1)
operators with lower precedence are calculated before those with higher precedence
2: unary +, unary -
3: *, /
4: +, -