Perform Uf for factoring

C# | Visual Basic | Visual C++ |
List<IQuantumOperation> FactoringUf( int[] Register1Indexes, int[] Register2Indexes, int N )
Function FactoringUf ( _ Register1Indexes As Integer(), _ Register2Indexes As Integer(), _ N As Integer _ ) As List(Of IQuantumOperation)
List<IQuantumOperation^>^ FactoringUf( array<int>^ Register1Indexes, array<int>^ Register2Indexes, int N )

- Register1Indexes (array< Int32 >[]()[])
- First register
- Register2Indexes (array< Int32 >[]()[])
- Second register
- N (Int32)
- Number being factored.

The operations to apply Uf

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. |