QmcSession

Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.

QmcSession

class QmcSession

Caller-owned bounded execution, with no background loop or worker pool.

Attributes

Name Description
complete
settings

complete

QmcSession.complete: builtins.bool

settings

QmcSession.settings: QmcSettings

Methods

Name Description
_repr_html_
checkpoint
live_observation
observation
snapshot
step Execute at most max_packages, returning to the Python caller between steps

_repr_html_

QmcSession._repr_html_(slf: QmcSession) -> builtins.str

checkpoint

QmcSession.checkpoint() -> bytes

live_observation

QmcSession.live_observation() -> LiveObservation

observation

QmcSession.observation() -> IntegrationObservation

snapshot

QmcSession.snapshot() -> IntegrationSnapshot

step

QmcSession.step(
    max_packages: builtins.int = 1,
    *,
    evaluation_batch_size: builtins.int = 256,
    observer: typing.Optional[typing.Any] = None,
) -> IntegrationSnapshot

Execute at most max_packages, returning to the Python caller between steps. An observer receives immutable snapshots after accepted packages; False stops this call.