oqp.utils.matrix
Matrix manipulation utilities
Classes
Functions
|
|
|
|
|
|
|
Module Contents
- unpack_symmetric(matrix_packed, matrix_dim=None)
Convert symmetric packed matrix to full square format
- pack_matrix(matrix)
Saving the lower triangular part of the matrix in a packed format, which corresponds to the upper triangular part in Fortran notation.
- orb_to_dens(v, x)
Compute density matrix from a set of orbitals and respective occupation numbers. Compute the transformation: D = V * diag(X) * V^T :param V - matrix of orbitals: :param X - vector of occupation numbers: :returns: D - density matrix
- DampingParam(method=None)