MPQC
3.0.0-alpha
|
Grid of subspaces, represented as blocks of determinants defined by alpha/beta pair, along with sparsity information. More...
#include <mpqc/ci/subspace.hpp>
Public Member Functions | |
SubspaceGrid () | |
Construct empty subspace grid. | |
SubspaceGrid (const std::vector< Subspace< Alpha > > &A, const std::vector< Subspace< Beta > > &B, const mpqc::matrix< bool > &mask) | |
Construct subspace grid from alpha and beta subspace vectors and sparsity matrix. | |
bool | allowed (int a, int b) const |
Returns whenever a subspace alpha/beta block is allowed. | |
const std::vector< Subspace< Alpha > > & | alpha () const |
Returns all alpha subspaces. | |
const std::vector< Subspace< Beta > > & | beta () const |
Returns all beta subspaces. | |
Subspace< Alpha > | alpha (int i) const |
Returns i-th alpha subspace. | |
Subspace< Beta > | beta (int i) const |
Returns i-th beta subspace. | |
size_t | dets () const |
Returns number of determinants in the grid. | |
Grid of subspaces, represented as blocks of determinants defined by alpha/beta pair, along with sparsity information.