About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
LinearSolverResult
class LinearSolverResult
Bases: qiskit.algorithms.algorithm_result.AlgorithmResult
The deprecated base class for linear systems results.
The linear systems algorithms return an object of the type LinearSystemsResult
with the information about the solution obtained.
Methods
combine
LinearSolverResult.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
Attributes
circuit_results
euclidean_norm
return the euclidean norm if the algorithm knows how to calculate it
Return type
float
observable
return the (list of) calculated observable(s)
Return type
Union
[float
, List
[float
]]
state
return either the circuit that prepares the solution or the solution as a vector
Return type
Union
[QuantumCircuit
, ndarray
]
Was this page helpful?
Report a bug or request content on GitHub.