qiskit.pulse.builder.active_circuit_scheduler_settings
active_circuit_scheduler_settings()
Return the current active builder context’s circuit scheduler settings.
Examples:
from qiskit import pulse
from qiskit.test.mock import FakeOpenPulse2Q
backend = FakeOpenPulse2Q()
circuit_scheduler_settings = {'method': 'alap'}
with pulse.build(
backend,
default_circuit_scheduler_settings=circuit_scheduler_settings):
print(pulse.active_circuit_scheduler_settings())
{'method': 'alap'}
Return type
Dict
[str
, Any
]
Was this page helpful?
Report a bug or request content on GitHub.