Implementation of quantum communication protocols in Josephson junction arrays