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: 188.8.131.52 (184.108.40.206)
False if the number could not be factored. In this case the two output variables will be 0.