operator_dimension()

operator_dimension()#

static QuadraticOperator.operator_dimension(r, m=None)[source]#

Column dimension \(r(r+1)/2\) of the internal representation \(\tilde{\H}\) of the operator matrix \(\Hhat\).

Parameters:
rint

State dimension.

mint or None

Input dimension.