Quanlse/Utils/ODESolver.py
def _cacheDictToList(ctrlCache: Dict[str, Any], waveCache: Dict[str, Any]):
    """
    Convert the dict type cache to the list type.
    """
    # Initialize ctrlList and waveList
    _ctrlList, _waveList = [], []
    for ctrlKey in ctrlCache:
        _ctrlList.append(ctrlCache[ctrlKey])
        _waveList.append(array(waveCache[ctrlKey]))
    return _ctrlList, _waveList

    Convert the dict type cache to the list type.
    
Convert the dict type cache to the list type.
Convert the dict type cache to the list type .
def _cacheDictToList(ctrlCache: Dict[str, Any], waveCache: Dict[str, Any]):
    _ctrlList, _waveList = [], []
    for ctrlKey in ctrlCache:
        _ctrlList.append(ctrlCache[ctrlKey])
        _waveList.append(array(waveCache[ctrlKey]))
    return _ctrlList, _waveList
def _cacheDictToList ( ctrlCache : Dict [ str , Any ] , waveCache : Dict [ str , Any ] ) : _ctrlList , _waveList = [ ] , [ ] for ctrlKey in ctrlCache : _ctrlList . append ( ctrlCache [ ctrlKey ] ) _waveList . append ( array ( waveCache [ ctrlKey ] ) ) return _ctrlList , _waveList
Convert the dict type cache to the list type.
Convert the dict type cache to the list type .
"""
    Convert the dict type cache to the list type.
    """ # Initialize ctrlList and waveList
ctrlCache
Dict[str, Any]
waveCache
Dict[str, Any]