Research Article

Joint Beamforming Design for Intelligent Reflecting Surface Aided Terahertz Wireless Network

Algorithm 1

The AGD algorithm.
(1)Initialization: Set , and a feasible point .
(2)repeat
(a) Compute the gradient vector by (21).
(b) Compute the step size .
(c) Update .
(d) Update .
(e) If , then .
(f).
(3)until.
(4)Output Map each entry of into the discrete set .