One could use cached_property for many of the cached attributes of Basis and PulseSequence. On the other hand, it's not helpful for those that are frequency-dependent and we'd therefore have to mix the usage of cached_property and a dedicated implementation.
One could use cached_property for many of the cached attributes of
BasisandPulseSequence. On the other hand, it's not helpful for those that are frequency-dependent and we'd therefore have to mix the usage ofcached_propertyand a dedicated implementation.