Japanese
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.algorithms.PhaseEstimationScale.scale_phases

PhaseEstimationScale.scale_phases(phases, id_coefficient=0.0)[ソース]

Convert a list or dict of phases to eigenvalues.

The values in the list, or keys in the dict, are values of phi` and are converted as described in the description of ``scale_phase. In case phases is a dict, the values of the dict are passed unchanged.

パラメータ
  • phases (list | dict) – a list or dict of values of phi.

  • id_coefficient (float) – All eigenvalues are shifted by this value.

戻り値の型

dict | list

戻り値

Eigenvalues computed from phases.