Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.algorithms.ShorResult

class ShorResult

GitHub

Shor Result.

__init__

__init__()

Initialize self. See help(type(self)) for accurate signature.


Methods

__init__()Initialize self.
combine(result)Any property from the argument that exists in the receiver is updated.

Attributes

factorsreturns factors
successful_countsreturns successful counts
total_countsreturns total counts

combine

combine(result)

Any property from the argument that exists in the receiver is updated. :type result: AlgorithmResult :param result: Argument result with properties to be set.

Raises

TypeError – Argument is None

Return type

None

factors

returns factors

Return type

List[List[int]]

successful_counts

returns successful counts

Return type

int

total_counts

returns total counts

Return type

int

Was this page helpful?
Report a bug or request content on GitHub.