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.aqua.algorithms.ClassicalAlgorithm

class ClassicalAlgorithm

GitHub

Base class for Classical Algorithms.

__init__

__init__()

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


Methods

__init__()Initialize self.
run()Execute the classical algorithm.

Attributes

randomReturn a numpy random.

random

Return a numpy random.

run

run()

Execute the classical algorithm.

Returns

results of an algorithm.

Return type

dict

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