Theoretical optical potential derived from nucleon-nucleon chiral potentials