1
$\begingroup$
with pulse.build(backend, name='hadamard') as h_q0:
    pulse.play(Gaussian(duration=1289, amp=0.99, sigma=32), pulse.drive_channel(0))
   
    reg = pulse.measure(qubit)
    
   
h_q0.draw()

Above is code that I have for a Gaussian Pulse. How would you change the duration, amp, and sigma parameters, so that the Gaussian Pulse would have the proper area for conducting an X gate on a qubit?

$\endgroup$

1 Answer 1

2
$\begingroup$

There is a dedicated section about this on Qiskit Textbook.

A quick summary:

  1. pick a duration and a sigma and make them constant.
  2. apply the Gaussian pulse with several different amplitudes.
  3. recover the results that should look like a sinusoid (Rabi experiment).
  4. the amplitude you are searching for is the period of the sinusoid divided by 2.

I cannot possibly include all the details from the Qiskit Textbook in this answer, but the process above is described and illustrated there.

Note also that any pulse duration have to be a multiple of 16 dt. The Gaussian pulse you are using in your question will be rejected by the hardware.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.