pygsti.baseobjs.smartcache.smart_cached

Contents

pygsti.baseobjs.smartcache.smart_cached#

smart_cached(obj)#

Decorator for applying a smart cache to a single function or method.

Parameters:

obj (function) – function to decorate.

Return type:

function