  We propose a method to measure real-valued time series irreversibility which
combines two differ- ent tools: the horizontal visibility algorithm and the
Kullback-Leibler divergence. This method maps a time series to a directed
network according to a geometric criterion. The degree of irreversibility of
the series is then estimated by the Kullback-Leibler divergence (i.e. the
distinguishability) between the in and out degree distributions of the
associated graph. The method is computationally effi- cient, does not require
any ad hoc symbolization process, and naturally takes into account multiple
scales. We find that the method correctly distinguishes between reversible and
irreversible station- ary time series, including analytical and numerical
studies of its performance for: (i) reversible stochastic processes
(uncorrelated and Gaussian linearly correlated), (ii) irreversible stochastic
pro- cesses (a discrete flashing ratchet in an asymmetric potential), (iii)
reversible (conservative) and irreversible (dissipative) chaotic maps, and (iv)
dissipative chaotic maps in the presence of noise. Two alternative graph
functionals, the degree and the degree-degree distributions, can be used as the
Kullback-Leibler divergence argument. The former is simpler and more intuitive
and can be used as a benchmark, but in the case of an irreversible process with
null net current, the degree-degree distribution has to be considered to
identifiy the irreversible nature of the series.
