Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.passes.RZXCalibrationBuilderNoEcho.rescale_cr_inst

static RZXCalibrationBuilderNoEcho.rescale_cr_inst(instruction, theta, sample_mult=16)

A builder macro to play stretched pulse.

パラメータ
  • instruction (Play) – The instruction from which to create a new shortened or lengthened pulse.

  • theta (float) – desired angle, pi/2 is assumed to be the angle that the pulse in the given play instruction implements.

  • sample_mult (int) – All pulses must be a multiple of sample_mult.

戻り値

Duration of stretched pulse.

例外

QiskitError – if rotation angle is not assigned.

戻り値の型

int