MOSCOW (AP) _ Portuguese President Mario Soares met Wednesday with Andrei D. Sakharov and discussed human rights issues.

Soares told a news conference that he invited Sakharov and his wife, Yelena Bonner, to the Portuguese Embassy in Moscow for lunch.

Sakharov, a physicist, won the 1975 Nobel Peace Prize for his work on behalf of human rights in the Soviet Union.

Soares met Monday with Soviet President Andrei A. Gromyko and Tuesday with Soviet leader Mikhail S. Gorbachev, and will be in the Soviet Union until the end of the week.

The Portuguese president said he extended invitations to Gromyko and Gorbachev to visit portugal. He said both responded positively.

Soares said he asked Soviet authorities to be able to meet with Sakharov, who returned from internal exile in the closed city of Gorky last December.

''I have been following the activities of Andrei Sakharov, particularly his struggle to protect human rights,'' he said.

He said he discussed ''human rights and freedoms'' with Sakharov.