qiskit-documentation/docs/api/qiskit/0.26/qiskit.algorithms.Algorithm...

23 lines
750 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: AlgorithmError
description: API reference for qiskit.algorithms.AlgorithmError
in_page_toc_min_heading_level: 1
python_api_type: exception
python_api_name: qiskit.algorithms.AlgorithmError
---
# qiskit.algorithms.AlgorithmError
<Class id="qiskit.algorithms.AlgorithmError" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.17/qiskit/algorithms/exceptions.py" signature="AlgorithmError(*message)" modifiers="exception">
For Algorithm specific errors.
Set the error message.
### with\_traceback
<Function id="qiskit.algorithms.AlgorithmError.with_traceback" signature="with_traceback()">
Exception.with\_traceback(tb) set self.\_\_traceback\_\_ to tb and return self.
</Function>
</Class>