SDK API Reference
cache_disabled()
QIR API Reference
CORE API Reference
PYQASM API Reference
Context manager to temporarily disable caching for a specific instance.
instance – The class instance for which the cache should be disabled.
Generator[None, None, None]
Generator
None
Example usage:
with cache_disabled(instance): instance.method_call()