Hamiltonian<TTermClassification,TTermIndexing,TTermValue>.Norm Method

Definition

Overloads

Norm(Double)

Computes the L_p norm of coefficients of all terms in a Hamiltonian.

Norm(IEnumerable<TTermClassification>, Double)

Computes the L_p norm of coefficients of categories of terms in a Hamiltonian.

Norm(Double)

Computes the L_p norm of coefficients of all terms in a Hamiltonian.

public double Norm (double power = 1);
member this.Norm : double -> double
Public Function Norm (Optional power As Double = 1) As Double

Parameters

power
Double

Selects type of norm.

Returns

Double

L_p norm of Hamiltonian coefficients.

Applies to

Norm(IEnumerable<TTermClassification>, Double)

Computes the L_p norm of coefficients of categories of terms in a Hamiltonian.

public double Norm (System.Collections.Generic.IEnumerable<TTermClassification> termTypes, double power = 1);
member this.Norm : seq<'ermClassification> * double -> double
Public Function Norm (termTypes As IEnumerable(Of TTermClassification), Optional power As Double = 1) As Double

Parameters

termTypes
IEnumerable<TTermClassification>

Selects the categories of Hamiltonian terms.

power
Double

Selects type of norm.

Returns

Double

L_p norm of Hamiltonian coefficients.

Applies to