This class contains everything to factor a number using Shor's algorithm.
| C# | Visual Basic | Visual C++ |
public class ShorsAlgorithm
Public Class ShorsAlgorithm
public ref class ShorsAlgorithm
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| ShorsAlgorithm()()() |
The default constructor.
| |
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Factor(Int32, Int32%, Int32%) |
Call this to factor numbers utilizing quantum resources.
| |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FindPeriod(Int32, Int32) |
Find the period of iCurM (m) and the NumberToFactor (N)
| |
| FindPeriodFor15(Int32, Int32) |
Specific case of finding the period for 15.
| |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString()()() | Returns a String that represents the current Object. (Inherited from Object.) |
| Object | |
| ShorsAlgorithm | |