Square-slotted THz metamaterial-inspired MIMO antenna design optimized with machine learning for TWPAN networks and next-generation communication systems | Synapse