Cove - A Practical Quantum Computer Programming Framework
ShorsAlgorithm Class
NamespacesCove.LocalSimulationShorsAlgorithm
This class contains everything to factor a number using Shor's algorithm.
Declaration Syntax
C#Visual BasicVisual C++
public class ShorsAlgorithm
Public Class ShorsAlgorithm
public ref class ShorsAlgorithm
Members
All MembersConstructorsMethods



IconMemberDescription
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.)
Inheritance Hierarchy
Object
ShorsAlgorithm

Assembly: Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)