VPTRuntimeOptions
Provides a helper to keep track of the options available for configuring the way the code runs
__init__(self, operator_chunk_size=None, matrix_element_threshold=None, nondeg_hamiltonian_precision=None, logger=None, verbose=None, checkpoint=None, results=None, parallelizer=None, memory_constrained=None, checkpoint_keys=None, use_cached_representations=None, use_cached_basis=None):
operator_chunk_size:int|None default:Nonethe number of representation matrix elements to calculate in at one time
matrix_element_threshold:float|None default:Nonethe minimum size of matrix element to keep
nondeg_hamiltonian_precision:intthe precision with which to print out elements in the degenerate coupling Hamiltonians in the log file
logger:str|Logger|bool|None default:Nonethe
Loggerobject to use when logging the status of the calculation (Truemeans log normally)results:str|Checkpointer|None default:Nonethe
Checkpointerto write corrections out toparallelizer:Parallelizer|None default:Nonethe
Parallelizerto use for parallelizing the evaluation of matrix elementsmemory_constrained:bool|Nonewhether or not to attempt memory optimizations (
Nonemeans attempt for >20D problems)checkpoint:str|Checkpointer|None default:Nonethe
Checkpointerto write Hamiltonians and other bits out tocheckpoint_keys:Iterable[str]|Nonewhich keys to save in the checkpoint
use_cached_representations:boolwhether other not to use Hamiltonian reps from the checkpoint
use_cached_basis:boolwhether other not to use bases from the checkpoint