class QPanda::ShorAlg¶
Overview¶
Shor Algorthm. More…
Detailed Documentation¶
Shor Algorthm.
Construction¶
Parameters:
target |
the number to initialize the large number |
Methods¶
Parameters:
set |
the smallest base, default = 2 |
execute the prime factorization for target number
Returns:
whether the process succeed
get the decomposition result
Returns:
get the decomposition result