pwc_operator_hermitian_part

Graph.pwc_operator_hermitian_part(operator, *, name=None)

Creates the Hermitian part of a piecewise-constant operator.

Parameters
  • operator (Pwc) – The operator \(A(t)\), or a batch of operators.

  • name (str, optional) – The name of the node.

Returns

The Hermitian part \(\frac{1}{2}(A(t)+A^\dagger(t))\) (or a batch of Hermitian parts, if you provide a batch of operators).

Return type

Pwc

See also

constant_pwc_operator()

Create constant Pwcs.

pwc_operator()

Create Pwc operators.

sparse_pwc_hermitian_part()

Create the Hermitian part of a SparsePwc operator.