qiskit-documentation/docs/api/qiskit/0.27/qiskit.optimization.algorit...

37 lines
1.8 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: ADMMState
description: API reference for qiskit.optimization.algorithms.ADMMState
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.optimization.algorithms.ADMMState
---
# qiskit.optimization.algorithms.ADMMState
<Class id="qiskit.optimization.algorithms.ADMMState" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/optimization/algorithms/admm_optimizer.py" signature="ADMMState(op, rho_initial)" modifiers="class">
Internal computation state of the ADMM implementation.
The state keeps track of various variables are stored that are being updated during problem solving. The values are relevant to the problem being solved. The state is recreated for each optimization problem. State is returned as the third value.
**Parameters**
* **op** (`QuadraticProgram`) The optimization problem being solved.
* **rho\_initial** (`float`) Initial value of the rho parameter.
### \_\_init\_\_
<Function id="qiskit.optimization.algorithms.ADMMState.__init__" signature="__init__(op, rho_initial)">
**Parameters**
* **op** (`QuadraticProgram`) The optimization problem being solved.
* **rho\_initial** (`float`) Initial value of the rho parameter.
</Function>
## Methods
| | |
| -------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
| [`__init__`](#qiskit.optimization.algorithms.ADMMState.__init__ "qiskit.optimization.algorithms.ADMMState.__init__")(op, rho\_initial) | **type op**`QuadraticProgram` |
</Class>