Shortcuts

qiskit.aqua.algorithms.HHLResult

class HHLResult(a_dict=None)[source]

HHL Result.

__init__(a_dict=None)

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

Methods

__init__([a_dict])

Initialize self.

clear()

rtype

None

combine(result)

Any property from the argument that exists in the receiver is updated.

copy()

from_dict(a_dict)

create new object from a dictionary

fromkeys(iterable[, value])

get(k[,d])

items()

keys()

pop(key[, default])

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

popitem()

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

setdefault(k[,d])

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

values()

Attributes

circuit_info

return circuit info

matrix

return matrix

output

return output

probability_result

return probability result

solution

return solution

vector

return vector

property circuit_info

return circuit info

Return type

DAGCircuit

clear()
Return type

None

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

static from_dict(a_dict)[source]

create new object from a dictionary

Return type

HHLResult

get(k[, d]) → D[k] if k in D, else d. d defaults to None.
items() → a set-like object providing a view on D’s items
keys() → a set-like object providing a view on D’s keys
property matrix

return matrix

Return type

ndarray

property output

return output

Return type

ndarray

pop(key, default=None)

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

Return type

object

popitem()

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

Return type

Tuple[object, object]

property probability_result

return probability result

Return type

Union[ndarray, float]

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

return solution

Return type

ndarray

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() → an object providing a view on D’s values
property vector

return vector

Return type

ndarray

You are viewing lang: English
Languages
English
Japanese
German
Korean