;

Do I need separate earth loops for heating and cooling?

No. The same loop works for both. To switch heating to cooling or vice versa, the flow of heat is simply reversed.