This doesn’t work either by using a voltage controlled current source. Apparently, conductance G can’t be complex either. It doesn’t complain but just gives a wrong answer.
That didn’t work. In fact, that is how I started, and got me in trouble because it never complained or type checked. You can do a sanity check and find that it only took the real part or something like that.