68 lines
2.1 KiB
Plaintext
68 lines
2.1 KiB
Plaintext
---
|
||
title: Plotter (v0.31)
|
||
description: API reference for qiskit.ignis.verification.Plotter in qiskit v0.31
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.ignis.verification.Plotter
|
||
---
|
||
|
||
# Plotter
|
||
|
||
<Class id="qiskit.ignis.verification.Plotter" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-ignis/tree/stable/0.6/qiskit/ignis/verification/entanglement/analysis.py" signature="Plotter(label)" modifiers="class">
|
||
Bases: `object`
|
||
|
||
Various plots of the ground state in MQC and PO experiments
|
||
|
||
## Methods
|
||
|
||
<span id="qiskit-ignis-verification-plotter-get-fourier-info" />
|
||
|
||
### get\_fourier\_info
|
||
|
||
<Function id="qiskit.ignis.verification.Plotter.get_fourier_info" signature="Plotter.get_fourier_info(qn, x, y, y_m, p_dict)">
|
||
Get fourier trans. data/plot of both mqc and po exps. :type qn: `int` :param qn: Number of qubits :type x: `array` :param x: Phase series :type y: `array` :param y: Counts series :type y\_m: `array` :param y\_m: Mitigated counts series :type p\_dict: `Dict` :param p\_dict: probabilities dictionary
|
||
|
||
**Return type**
|
||
|
||
`Dict`
|
||
|
||
**Returns**
|
||
|
||
The fourier transform data
|
||
|
||
**Raises**
|
||
|
||
* **ImportError** – If matplotlib is not present
|
||
* **Exception** – If y\_m or p\_dict are not provided
|
||
</Function>
|
||
|
||
<span id="qiskit-ignis-verification-plotter-sin-plotter" />
|
||
|
||
### sin\_plotter
|
||
|
||
<Function id="qiskit.ignis.verification.Plotter.sin_plotter" signature="Plotter.sin_plotter(x, y, y_m=None)">
|
||
Make sin plot of counts in both mqc and po exps. :type x: `array` :param x: Phase series :type y: `array` :param y: Counts series :type y\_m: `Optional`\[`array`] :param y\_m: Mitigated counts series
|
||
|
||
**Raises**
|
||
|
||
**ImportError** – If matplotlib is not present
|
||
</Function>
|
||
|
||
<span id="qiskit-ignis-verification-plotter-title-maker" />
|
||
|
||
### title\_maker
|
||
|
||
<Function id="qiskit.ignis.verification.Plotter.title_maker" signature="Plotter.title_maker()">
|
||
Make title depending on type of exp.
|
||
|
||
**Return type**
|
||
|
||
`Tuple`\[`str`, `str`]
|
||
|
||
**Returns**
|
||
|
||
The title strings
|
||
</Function>
|
||
</Class>
|
||
|