qiskit.utils.apply_prefix¶ apply_prefix(value, unit)[ソース]¶ Given a SI unit prefix and value, apply the prefix to convert to standard SI unit. パラメータ value (float) – The number to apply prefix to. unit (str) – String prefix. 戻り値の型 float 戻り値 Converted value. 例外 Exception – If the units aren’t recognized.