Operator#
-
class cuquantum.
densitymat. jax. Operator(
)[source]#
PyTree class for cuDensityMat’s operator.
Methods
- __init__( ) None[source]#
Initialize an Operator object.
- Parameters:
dims – Hilbert space dimensions.
simplify – Controls operator-product simplification at compile time.
Trueuses the default passes;Falsedisables all passes; aSimplifierConfigobject selects custom conditions. Opt-in for now: the passes are newly added, their failure mode is a silently different result rather than an error, and their benefit has not been quantified.
- append(
- op_term: OperatorTerm,
- dual: bool = False,
- coeff: float | complex | Array = 1.0,
Append an operator term to an operator.
- Parameters:
op_term – Operator term to be appended.
dual – Duality of the operator term.
coeff – Non-batched coefficient or batched coefficients of the operator term.
Attributes
- in_axes#
Return the in_axes PyTree spec for vmapping over the batch dimension.