Skip to main content
IBM Quantum Platform
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.

IterativeAmplitudeEstimationResult

class IterativeAmplitudeEstimationResult(a_dict=None)

GitHub

Bases: qiskit.aqua.algorithms.amplitude_estimators.ae_algorithm.AmplitudeEstimationAlgorithmResult

IterativeAmplitudeEstimation Result.


Methods

clear

IterativeAmplitudeEstimationResult.clear()

Return type

None

combine

IterativeAmplitudeEstimationResult.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

copy

IterativeAmplitudeEstimationResult.copy()

from_dict

static IterativeAmplitudeEstimationResult.from_dict(a_dict)

create new object from a dictionary

Return type

IterativeAmplitudeEstimationResult

fromkeys

classmethod IterativeAmplitudeEstimationResult.fromkeys(iterable, value=None)

get

IterativeAmplitudeEstimationResult.get(k[, d]) → D[k] if k in D, else d. d defaults to None.

items

IterativeAmplitudeEstimationResult.items() → a set-like object providing a view on D’s items

keys

IterativeAmplitudeEstimationResult.keys() → a set-like object providing a view on D’s keys

pop

IterativeAmplitudeEstimationResult.pop(key, default=None)

If key is not found, d is returned if given, otherwise KeyError is raised.

Return type

object

popitem

IterativeAmplitudeEstimationResult.popitem()

as a 2-tuple; but raise KeyError if D is empty.

Return type

Tuple[object, object]

setdefault

IterativeAmplitudeEstimationResult.setdefault(k[, d]) → D.get(k,d), also set D[k]=d if k not in D

update

IterativeAmplitudeEstimationResult.update(*args, **kwargs)

If E present and has a .keys() method, does: for k in E: D[k] = E[k] If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k, v in F.items(): D[k] = v

Return type

None

values

IterativeAmplitudeEstimationResult.values() → an object providing a view on D’s values


Attributes

a_estimation

return a_estimation

Return type

float

a_intervals

return a_intervals

Return type

List[List[float]]

actual_epsilon

return mle

Return type

float

alpha

return alpha

Return type

float

confidence_interval

return confidence_interval

Return type

List[float]

estimation

return estimation

Return type

float

num_oracle_queries

return num_oracle_queries

Return type

int

powers

return powers

Return type

List[int]

ratios

return ratios

Return type

List[float]

theta_intervals

return theta_intervals

Return type

List[List[float]]

value_confidence_interval

return value_confidence_interval

Return type

List[float]

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