mirror of https://github.com/Qiskit/qiskit.git
23 lines
695 B
YAML
23 lines
695 B
YAML
---
|
|
deprecations:
|
|
- |
|
|
The "scaling" parameter of the Schedule and Pulse objects was deprecated
|
|
in favor of a new "scale" parameter to enable consistency with the "scale"
|
|
parameter for circuit drawings.
|
|
For example;
|
|
#The consistency in parameters is seen below
|
|
#For circuits
|
|
circuit = QuantumCircuit()
|
|
circuit.draw(scale=0.2)
|
|
#For pulses
|
|
pulse = SamplePulse()
|
|
pulse.draw(scale=0.2)
|
|
#For schedules
|
|
schedule = Schedule()
|
|
schedule.draw(scale=0.2)
|
|
other:
|
|
- |
|
|
The "scale" parameter takes the place of the "scaling" parameter for Pulse and
|
|
Schedule objects to enable setting of the visual scaling of the drawn waveform
|
|
amplitude.
|