Hamiltonian<TTermClassification,TTermIndexing,TTermValue>.Norm Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
L_p norm of Hamiltonian coefficients.