IndexOrderedSequence<TIndex> Constructors
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
| IndexOrderedSequence<TIndex>() |
Constructor for empty ladder operator sequence. |
| IndexOrderedSequence<TIndex>(LadderSequence<TIndex>) |
Constructs an instance from a normal-ordered sequence of ladder operators. |
| IndexOrderedSequence<TIndex>(IEnumerable<LadderOperator<TIndex>>, Int32) |
Constructs an instance from a normal-ordered sequence of ladder operators. |
IndexOrderedSequence<TIndex>()
Constructor for empty ladder operator sequence.
public IndexOrderedSequence ();
Public Sub New ()
Applies to
IndexOrderedSequence<TIndex>(LadderSequence<TIndex>)
Constructs an instance from a normal-ordered sequence of ladder operators.
public IndexOrderedSequence (Microsoft.Quantum.Chemistry.LadderOperators.LadderSequence<TIndex> ladderOperators);
new Microsoft.Quantum.Chemistry.LadderOperators.IndexOrderedSequence<'Index (requires 'Index :> IEquatable<'Index> and 'Index :> IComparable<'Index>)> : Microsoft.Quantum.Chemistry.LadderOperators.LadderSequence<'Index (requires 'Index :> IEquatable<'Index> and 'Index :> IComparable<'Index>)> -> Microsoft.Quantum.Chemistry.LadderOperators.IndexOrderedSequence<'Index (requires 'Index :> IEquatable<'Index> and 'Index :> IComparable<'Index>)>
Public Sub New (ladderOperators As LadderSequence(Of TIndex))
Parameters
- ladderOperators
- LadderSequence<TIndex>
Normal-ordered sequence of ladder operators.
Applies to
IndexOrderedSequence<TIndex>(IEnumerable<LadderOperator<TIndex>>, Int32)
Constructs an instance from a normal-ordered sequence of ladder operators.
public IndexOrderedSequence (System.Collections.Generic.IEnumerable<Microsoft.Quantum.Chemistry.LadderOperators.LadderOperator<TIndex>> ladderOperators, int coefficient = 1);
new Microsoft.Quantum.Chemistry.LadderOperators.IndexOrderedSequence<'Index (requires 'Index :> IEquatable<'Index> and 'Index :> IComparable<'Index>)> : seq<Microsoft.Quantum.Chemistry.LadderOperators.LadderOperator<'Index>> * int -> Microsoft.Quantum.Chemistry.LadderOperators.IndexOrderedSequence<'Index (requires 'Index :> IEquatable<'Index> and 'Index :> IComparable<'Index>)>
Public Sub New (ladderOperators As IEnumerable(Of LadderOperator(Of TIndex)), Optional coefficient As Integer = 1)
Parameters
- ladderOperators
- IEnumerable<LadderOperator<TIndex>>
Normal-ordered sequence of ladder operators.
- coefficient
- Int32
Coefficient as the sign (-1 or +1) of a ladder operator.