# 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

constant_pwc_operator()
pwc_operator()
sparse_pwc_hermitian_part()