Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

qiskit.pulse.builder.active_circuit_scheduler_settings

active_circuit_scheduler_settings()

GitHub(opens in a new tab)

Return the current active builder context’s circuit scheduler settings.

Examples:

from qiskit import pulse
from qiskit.providers.fake_provider 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.