qrunch.common.constants.quantum

Numerical constants shared across qrunch.quantum library code.

Module Attributes

DEFAULT_COEFFICIENT_TOLERANCE

Default coefficient magnitude below which operator terms are treated as zero.

TENSOR_NETWORK_SAMPLER_PROBABILITY_CLOSE_TO_ZERO_TOLERANCE

Probabilities below this value are treated as zero when no samples are available.

MIXED_PRECISION_LOW_NORM_FRACTION

Default operator one-norm fraction allocated to the lowest precision tier.

MIXED_PRECISION_MEDIUM_NORM_FRACTION

Default operator one-norm fraction allocated to the medium precision tier.

QSCI_MAXIMUM_KRYLOV_ORDER

Default largest Krylov order generated by generic QSCI state generators.

SYMMETRY_ADAPTED_MITIGATION_TOLERANCE

Coefficient cutoff used while constructing symmetry-adapted mitigated operators.

DEFAULT_COEFFICIENT_TOLERANCE = 1e-10

Default coefficient magnitude below which operator terms are treated as zero.

Used as the default tolerance when mapping second-quantized operators to Pauli sums and when constructing and storing operator sums.

MIXED_PRECISION_LOW_NORM_FRACTION = 0.01

Default operator one-norm fraction allocated to the lowest precision tier.

MIXED_PRECISION_MEDIUM_NORM_FRACTION = 0.1

Default operator one-norm fraction allocated to the medium precision tier.

QSCI_MAXIMUM_KRYLOV_ORDER = 3

Default largest Krylov order generated by generic QSCI state generators.

SYMMETRY_ADAPTED_MITIGATION_TOLERANCE = 1e-10

Coefficient cutoff used while constructing symmetry-adapted mitigated operators.

TENSOR_NETWORK_SAMPLER_PROBABILITY_CLOSE_TO_ZERO_TOLERANCE = 1e-10

Probabilities below this value are treated as zero when no samples are available.