An electronic device comprising: a communication processor (212; 214); a first switch circuit; a second switch circuit being connected to a plurality of antenna ports (801, 802); a power amplifier electrically connected to the communication processor, the power amplifier including: a first amplification circuit and a first phase shifter disposed on a first electrical path between an input port of the power amplifier and the first switch circuit, a second amplification circuit disposed on a second electrical path between the first switch circuit and the second switch circuit, and a third amplification circuit disposed on a third electrical path between the first switch circuit and the second switch circuit; and a low noise amplifier electrically connected to the communication processor, the low noise amplifier including: a fourth amplification circuit and a second phase shifter disposed on a fourth electrical path between the first switch circuit and an output port of the low noise amplifier, a fifth amplification circuit disposed on a fifth electrical path between the second switch circuit and the first switch circuit, and a sixth amplification circuit disposed on a sixth electrical path between the second switch circuit and the first switch circuit, wherein during transmission the first switch circuit is arranged to connect the first amplification circuit and the first phase shifter to either the second amplification circuit or the third amplification circuit, and the second switch circuit is arranged to connect an antenna port with the one of the second amplification circuit and the third amplification circuit which is connected to the first amplification circuit and the first phase shifter, and wherein during reception the first switch circuit is arranged to connect the fourth amplification circuit and the second phase shifter to either the fifth amplification circuit or the sixth amplification circuit, and the second switch circuit is arranged to connect an antenna port with the one of the fifth amplification circuit and the sixth amplification circuit which is connected to the fourth amplification circuit and the second phase shifter. a communication processor (212; 214); a first switch circuit; a second switch circuit being connected to a plurality of antenna ports (801, 802); a power amplifier electrically connected to the communication processor, the power amplifier including: a first amplification circuit and a first phase shifter disposed on a first electrical path between an input port of the power amplifier and the first switch circuit, a second amplification circuit disposed on a second electrical path between the first switch circuit and the second switch circuit, and a third amplification circuit disposed on a third electrical path between the first switch circuit and the second switch circuit; and a first amplification circuit and a first phase shifter disposed on a first electrical path between an input port of the power amplifier and the first switch circuit, a second amplification circuit disposed on a second electrical path between the first switch circuit and the second switch circuit, and a third amplification circuit disposed on a third electrical path between the first switch circuit and the second switch circuit; and a low noise amplifier electrically connected to the communication processor, the low noise amplifier including: a fourth amplification circuit and a second phase shifter disposed on a fourth electrical path between the first switch circuit and an output port of the low noise amplifier, a fifth amplification circuit disposed on a fifth electrical path between the second switch circuit and the first switch circuit, and a sixth amplification circuit disposed on a sixth electrical path between the second switch circuit and the first switch circuit, a fourth amplification circuit and a second phase shifter disposed on a fourth electrical path between the first switch circuit and an output port of the low noise amplifier, a fifth amplification circuit disposed on a fifth electrical path between the second switch circuit and the first switch circuit, and a sixth amplification circuit disposed on a sixth electrical path between the second switch circuit and the first switch circuit, wherein during transmission the first switch circuit is arranged to connect the first amplification circuit and the first phase shifter to either the second amplification circuit or the third amplification circuit, and the second switch circuit is arranged to connect an antenna port with the one of the second amplification circuit and the third amplification circuit which is connected to the first amplification circuit and the first phase shifter, and wherein during reception the first switch circuit is arranged to connect the fourth amplification circuit and the second phase shifter to either the fifth amplification circuit or the sixth amplification circuit, and the second switch circuit is arranged to connect an antenna port with the one of the fifth amplification circuit and the sixth amplification circuit which is connected to the fourth amplification circuit and the second phase shifter.