pygsti.baseobjs.opcalc

Implementations of common polynomial operations

Submodules

Package Contents

Functions

bulk_eval_compact_polynomials(vtape, ctape, paramvec, dest_shape)

Typechecking wrapper for real- and complex-specific routines..

bulk_eval_compact_polynomials_derivs(vtape, ctape, wrt_params, paramvec, dest_shape)

Typechecking wrapper for real- and complex-specific routines..

Attributes

warn_msg

pygsti.baseobjs.opcalc.warn_msg
pygsti.baseobjs.opcalc.bulk_eval_compact_polynomials(vtape, ctape, paramvec, dest_shape)

Typechecking wrapper for real- and complex-specific routines..

The underlying method has two implementations: one for real-valued ctape, and one for complex-valued. This wrapper will dynamically dispatch to the appropriate implementation method based on the type of ctape. If the type of ctape is known prior to calling, it’s slightly faster to call the appropriate implementation method directly; if not.

pygsti.baseobjs.opcalc.bulk_eval_compact_polynomials_derivs(vtape, ctape, wrt_params, paramvec, dest_shape)

Typechecking wrapper for real- and complex-specific routines..

The underlying method has two implementations: one for real-valued ctape, and one for complex-valued. This wrapper will dynamically dispatch to the appropriate implementation method based on the type of ctape. If the type of ctape is known prior to calling, it’s slightly faster to call the appropriate implementation method directly; if not.