netket.operator._prod.ProductGenericOperator#

class netket.operator._prod.ProductGenericOperator[source]#

Bases: ProductOperator, AbstractOperator

Inheritance
Inheritance diagram of netket.operator._prod.ProductGenericOperator
Attributes
H#

Returns the Conjugate-Transposed operator

T#

Returns the transposed operator

coefficient#

The scalar coefficient multiplying the product of operators.

dtype#
hilbert#

The hilbert space associated to this observable.

is_hermitian#

Returns true if this operator is hermitian.

operators#

The tuple of all operators in the terms of this product. All operators are multiplied together with the scalar coefficient.

Methods
collect()[source]#

Returns a guaranteed concrete instance of an operator.

As some operations on operators return lazy wrappers (such as transpose, hermitian conjugate…), this is used to obtain a guaranteed non-lazy operator.

Return type:

AbstractOperator

conj(*, concrete=False)[source]#
Return type:

AbstractOperator

conjugate(*, concrete=False)[source]#

Returns the complex-conjugate of this operator.

Parameters:

concrete – if True returns a concrete operator and not a lazy wrapper

Return type:

AbstractOperator

Returns:

if concrete is not True, self or a lazy wrapper; the complex-conjugated operator otherwise

transpose(*, concrete=False)[source]#

Returns the transpose of this operator.

Parameters:

concrete – if True returns a concrete operator and not a lazy wrapper

Return type:

AbstractOperator

Returns:

if concrete is not True, self or a lazy wrapper; the transposed operator otherwise