supergrad.helper.Helper#
- class supergrad.helper.Helper(*args, **kwargs)[source]#
Transform attribute to pure function.
Methods
__init__(*args, **kwargs)construct_transform_matrix()Constructing the transform matrix from product basis to eigenbasis.
eigensystem()Calculate quantum system's eigenenergy and eigenvectors using jax.scipy.linalg.eigh.
get_dims()idling_hamiltonian_in_prod_basis()Return the idling Hamiltonian in product basis.
ls_params([attr])Get all parameters for the selected attribute.
n_operator(node_name[, transform])Return the operator of the selected node.
phi_operator(node_name[, transform])Return the operator of the selected node.
Attributes
all_paramsThe static parameters dictionary.
device_paramsThe device parameters dictionary.
dimsThe dimension of the composited quantum system.