Perform Uf for factoring
Declaration Syntax
C# | Visual Basic | Visual C++ |
public List<IQuantumOperation> FactoringUf( int[] Register1Indexes, int[] Register2Indexes, int N )
Public Function FactoringUf ( _ Register1Indexes As Integer(), _ Register2Indexes As Integer(), _ N As Integer _ ) As List(Of IQuantumOperation)
public: virtual List<IQuantumOperation^>^ FactoringUf( array<int>^ Register1Indexes, array<int>^ Register2Indexes, int N ) sealed
Parameters
- Register1Indexes (array< Int32 >[]()[])
- First register
- Register2Indexes (array< Int32 >[]()[])
- Second register
- N (Int32)
- Number being factored.
Return Value
The operations to apply Uf
Exceptions
Exception | Condition |
---|---|
DuplicateIndexesException | Thrown if any of the
indexes specified are duplicates. |
ArgumentNullException | Thrown if the parameters
are null. |
ArgumentOutOfRangeException | Thrown if the indexes
specified are invalid. |