Extensions.ToIndexOrder<TIndex>(LadderSequence<TIndex>) 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.
Converts a LadderSequence to normal order, then index order. In general, this can generate new terms and modifies the coefficient.
public static System.Collections.Generic.HashSet<Microsoft.Quantum.Chemistry.LadderOperators.IndexOrderedSequence<TIndex>> ToIndexOrder<TIndex> (this Microsoft.Quantum.Chemistry.LadderOperators.LadderSequence<TIndex> ladderOperator) where TIndex : IEquatable<TIndex>, IComparable<TIndex>;
static member ToIndexOrder : Microsoft.Quantum.Chemistry.LadderOperators.LadderSequence<'Index (requires 'Index :> IEquatable<'Index> and 'Index :> IComparable<'Index>)> -> System.Collections.Generic.HashSet<Microsoft.Quantum.Chemistry.LadderOperators.IndexOrderedSequence<'Index>> (requires 'Index :> IEquatable<'Index> and 'Index :> IComparable<'Index>)
<Extension()>
Public Function ToIndexOrder(Of TIndex As {IEquatable(Of TIndex), IComparable(Of TIndex)}) (ladderOperator As LadderSequence(Of TIndex)) As HashSet(Of IndexOrderedSequence(Of TIndex))
Type Parameters
- TIndex
Parameters
- ladderOperator
- LadderSequence<TIndex>
Returns
- HashSet<IndexOrderedSequence<TIndex>>