create_operator_spectrum#

cuquantum.bindings.cudensitymat.create_operator_spectrum(
intptr_t handle,
intptr_t superoperator,
int32_t is_hermitian,
int spectrum_kind,
) intptr_t[source]#

Creates the eigen-spectrum computation object for a given operator.

Parameters:
  • handle (intptr_t) – Library handle.

  • superoperator (intptr_t) – Operator (cannot be batched).

  • is_hermitian (int32_t) – Specifies whether the operator is Hermitian (!=0) or not (0).

  • spectrum_kind (OperatorSpectrumKind) – Requested kind of the eigen-spectrum computation.

Returns:

Eigen-spectrum computation object.

Return type:

intptr_t