Subdiffusive and superdiffusive quantum transport and generalized duality