qiskit.transpiler.passes.RZXCalibrationBuilder.rescale_cr_inst¶
- static RZXCalibrationBuilder.rescale_cr_inst(instruction, theta, sample_mult=16)[source]¶
- Paramètres
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.
- Renvoie
- The play instruction with the stretched compressed
GaussianSquare pulse.
- Type renvoyé
qiskit.pulse.Play
- Lève
QiskitError – if the pulses are not GaussianSquare.
QiskitError – if rotation angle is not assigned.