yes "replace by a coupled transformer"
actually i am doing a project, making class AB amplifier using transformer, but the problem is after replacing the collector resistance with transformer(made using two inductors in LTspice) then output signal is not amplifying.