Portuguese, Brazilian
Idiomas
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.ignis.verification.Plotter

class Plotter(label)[código fonte]

Various plots of the ground state in MQC and PO experiments

__init__(label)[código fonte]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(label)

Initialize self.

get_fourier_info(qn, x, y, y_m, p_dict)

Get fourier trans.

sin_plotter(x, y[, y_m])

Make sin plot of counts in both mqc and po exps.

title_maker()

Make title depending on type of exp.

get_fourier_info(qn, x, y, y_m, p_dict)[código fonte]

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

Tipo de retorno

Dict

Retorna

The fourier transform data

Levanta
  • ImportError – If matplotlib is not present

  • Exception – If y_m or p_dict are not provided

sin_plotter(x, y, y_m=None)[código fonte]

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

Levanta

ImportError – If matplotlib is not present

title_maker()[código fonte]

Make title depending on type of exp.

Tipo de retorno

Tuple[str, str]

Retorna

The title strings