e3j.utils.config.config

class e3j.utils.config.config(**kwargs)

Singleton config class for e3j.

This class manages a global Config instance. See help(e3j.config.state()) for more details on the actual configuration options.

Usage:

Methods

__init__(**kwargs)

fields()

from_yaml(path)

options()

state()

Return a frozen copy of current state.

to_dict()

to_yaml([path])

use(**kwargs)

Override configuration within context scope.

Attributes

aggregation

debug_level

layout

tensor_product

__init__(**kwargs)
classmethod state() Config

Return a frozen copy of current state.

classmethod use(**kwargs)

Override configuration within context scope.