UnitaryCCWavefunction<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.
Changes the indexing scheme of this instance.
public Microsoft.Quantum.Chemistry.Fermion.UnitaryCCWavefunction<TNewIndex> SelectIndex<TNewIndex> (Func<TIndex,TNewIndex> indexFunction) where TNewIndex : IEquatable<TNewIndex>, IComparable<TNewIndex>;
override this.SelectIndex : Func<'Index, 'NewIndex (requires 'Index :> IEquatable<'Index> and 'Index :> IComparable<'Index> and 'NewIndex :> IEquatable<'NewIndex> and 'NewIndex :> IComparable<'NewIndex>)> -> Microsoft.Quantum.Chemistry.Fermion.UnitaryCCWavefunction<'NewIndex (requires 'NewIndex :> IEquatable<'NewIndex> and 'NewIndex :> IComparable<'NewIndex>)> (requires 'NewIndex :> IEquatable<'NewIndex> and 'NewIndex :> IComparable<'NewIndex>)
Public Function SelectIndex(Of TNewIndex As {IEquatable(Of TNewIndex), IComparable(Of TNewIndex)}) (indexFunction As Func(Of TIndex, TNewIndex)) As UnitaryCCWavefunction(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
- UnitaryCCWavefunction<TNewIndex>
Instance with a new index type.