LadderSequence<TIndex>.SelectIndex<TNewIndex> 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.
Creates a new ladder sequence with a different indexing scheme.
public Microsoft.Quantum.Chemistry.LadderOperators.LadderSequence<TNewIndex> SelectIndex<TNewIndex> (Func<TIndex,TNewIndex> indexFunction) where TNewIndex : IEquatable<TNewIndex>;
member this.SelectIndex : Func<'Index, 'NewIndex (requires 'Index :> IEquatable<'Index> and 'NewIndex :> IEquatable<'NewIndex>)> -> Microsoft.Quantum.Chemistry.LadderOperators.LadderSequence<'NewIndex (requires 'NewIndex :> IEquatable<'NewIndex>)> (requires 'NewIndex :> IEquatable<'NewIndex>)
Public Function SelectIndex(Of TNewIndex As IEquatable(Of TNewIndex)) (indexFunction As Func(Of TIndex, TNewIndex)) As LadderSequence(Of TNewIndex)
Type Parameters
- TNewIndex
Type of the new indexing scheme.
Parameters
- indexFunction
- Func<TIndex,TNewIndex>
Function for mapping the current scheme to the new scheme.
Returns
- LadderSequence<TNewIndex>
Ladder sequence with a new index type.