Optimal Stabilizer Testing and Learning with Limited Quantum Memory — ThinkLLM