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:None

    the number of representation matrix elements to calculate in at one time

  • matrix_element_threshold: float|None default:None

    the minimum size of matrix element to keep

  • nondeg_hamiltonian_precision: int

    the precision with which to print out elements in the degenerate coupling Hamiltonians in the log file

  • logger: str|Logger|bool|None default:None

    the Logger object to use when logging the status of the calculation (True means log normally)

  • results: str|Checkpointer|None default:None

    the Checkpointer to write corrections out to

  • parallelizer: Parallelizer|None default:None

    the Parallelizer to use for parallelizing the evaluation of matrix elements

  • memory_constrained: bool|None

    whether or not to attempt memory optimizations (None means attempt for >20D problems)

  • checkpoint: str|Checkpointer|None default:None

    the Checkpointer to write Hamiltonians and other bits out to

  • checkpoint_keys: Iterable[str]|None

    which keys to save in the checkpoint

  • use_cached_representations: bool

    whether other not to use Hamiltonian reps from the checkpoint

  • use_cached_basis: bool

    whether other not to use bases from the checkpoint


Feedback

Examples

Templates

Documentation