Call this to factor numbers utilizing quantum resources.
|C#||Visual Basic||Visual C++|
public Factor( NumberToFactor, out Factor1, out Factor2 )
Public Function Factor ( _ NumberToFactor As , _ < > ByRef Factor1 As , _ < > ByRef Factor2 As _ ) As
public: Factor( NumberToFactor, [ ] % Factor1, [ ] % Factor2 )
- NumberToFactor ( )
- The number to factor. Typically referred to as N.
- Factor1 ( %)
- The first factor. Typically referred to as p.
- Factor2 ( %)
- The second factor. Typically referred to as q.
Assembly: Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: 18.104.22.168 (22.214.171.124)
False if the number could not be factored. In this case the two output variables will be 0.