qiskit-documentation/docs/api/qiskit/0.24/qiskit.chemistry.results.BO...

80 lines
3.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.

---
title: BOPESSamplerResult
description: API reference for qiskit.chemistry.results.BOPESSamplerResult
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.chemistry.results.BOPESSamplerResult
---
<span id="qiskit-chemistry-results-bopessamplerresult" />
# qiskit.chemistry.results.BOPESSamplerResult
<Class id="qiskit.chemistry.results.BOPESSamplerResult" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.8/qiskit/chemistry/results/bopes_sampler_result.py" signature="BOPESSamplerResult(points, energies, raw_results)" modifiers="class">
The BOPES Sampler result
Creates an new instance of the result. :type points: `List`\[`float`] :param points: List of points. :type energies: `List`\[`float`] :param energies: List of energies. :type raw\_results: `Dict`\[`float`, `EigenstateResult`] :param raw\_results: Raw results obtained from the solver.
### \_\_init\_\_
<Function id="qiskit.chemistry.results.BOPESSamplerResult.__init__" signature="__init__(points, energies, raw_results)">
Creates an new instance of the result. :type points: `List`\[`float`] :param points: List of points. :type energies: `List`\[`float`] :param energies: List of energies. :type raw\_results: `Dict`\[`float`, `EigenstateResult`] :param raw\_results: Raw results obtained from the solver.
</Function>
## Methods
| | |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
| [`__init__`](#qiskit.chemistry.results.BOPESSamplerResult.__init__ "qiskit.chemistry.results.BOPESSamplerResult.__init__")(points, energies, raw\_results) | Creates an new instance of the result. |
| [`point_results`](#qiskit.chemistry.results.BOPESSamplerResult.point_results "qiskit.chemistry.results.BOPESSamplerResult.point_results")(point) | returns all results for a specific point. |
## Attributes
| | |
| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [`energies`](#qiskit.chemistry.results.BOPESSamplerResult.energies "qiskit.chemistry.results.BOPESSamplerResult.energies") | returns list of energies. |
| [`points`](#qiskit.chemistry.results.BOPESSamplerResult.points "qiskit.chemistry.results.BOPESSamplerResult.points") | returns list of points. |
| [`raw_results`](#qiskit.chemistry.results.BOPESSamplerResult.raw_results "qiskit.chemistry.results.BOPESSamplerResult.raw_results") | returns all results for all points. |
### energies
<Attribute id="qiskit.chemistry.results.BOPESSamplerResult.energies">
returns list of energies.
**Return type**
`List`\[`float`]
</Attribute>
### point\_results
<Function id="qiskit.chemistry.results.BOPESSamplerResult.point_results" signature="point_results(point)">
returns all results for a specific point.
**Return type**
`EigenstateResult`
</Function>
### points
<Attribute id="qiskit.chemistry.results.BOPESSamplerResult.points">
returns list of points.
**Return type**
`List`\[`float`]
</Attribute>
### raw\_results
<Attribute id="qiskit.chemistry.results.BOPESSamplerResult.raw_results">
returns all results for all points.
**Return type**
`Dict`\[`float`, `EigenstateResult`]
</Attribute>
</Class>