PIxOp<'idx, 'op> Type
A product of indexed operators, representing a tensor product of operators at specific sites.
PIxOp wraps a product term (P) of indexed operators. For example, the Pauli string X₀Z₂Y₃ would be a PIxOp containing three IxOp values.
The product includes a coefficient (from the underlying P type) and a sequence of indexed operator units.
Example
// A Pauli product X₀ ⊗ Z₁ with coefficient 0.5
let pauliString = PIxOp.TryCreateFromString Pauli.TryParse "0.5 (X, 0) (Z, 1)"
Union cases
| Union case |
Description
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsInIndexOrder
Parameters:
IndexOrder
-
The expected ordering direction.
Returns: bool
True if indices satisfy the ordering constraint.
|
Checks whether the operator indices are in the specified order.
|
Full Usage:
this.IsInIndexOrderAscending
Returns: bool
|
Checks whether indices are in ascending order (0, 1, 2, ...).
|
Full Usage:
this.IsInIndexOrderDescending
Returns: bool
|
Checks whether indices are in descending order (..., 2, 1, 0).
|
|
|
|
Static members
| Static member |
Description
|
|