Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
uni20::BlockSector Struct Reference

One symmetry sector inside a block-structured space. More...

#include <block_sector.hpp>

Collaboration diagram for uni20::BlockSector:
[legend]

Public Member Functions

auto operator== (BlockSector const &other) const -> bool=default
 Compare two block sectors for exact equality.
 

Public Attributes

std::size_t dim
 Degeneracy / number of states in the block.
 
QNum q
 Quantum number carried by the block.
 

Detailed Description

One symmetry sector inside a block-structured space.

Member Function Documentation

◆ operator==()

auto uni20::BlockSector::operator== ( BlockSector const &  other) const -> bool=default
default

Compare two block sectors for exact equality.

Parameters
otherOther block sector.
Returns
true if both quantum number and dimension match.

Member Data Documentation

◆ dim

std::size_t uni20::BlockSector::dim

Degeneracy / number of states in the block.

◆ q

QNum uni20::BlockSector::q

Quantum number carried by the block.


The documentation for this struct was generated from the following file: