Ask in plain English, e.g. “Apply global depolarizing noise with p = 0.3 to phi+ and compare it with local depolarizing noise on both photons.” The agent plans the work, calls tested physics tools, and answers with tables and figures.
What makes it different:
• The LLM never computes a number. 32 tools (NumPy/SciPy) do the physics, covered by 638 tests and 30 analytic checks.
• An answer checker compares the model’s text with the tool results before you see it. Unsupported numbers are sent back, and false physics statements are corrected or removed (e.g. an “azimuth” for circular light, CHSH values labelled CHSH/2, wrong comparisons between states).
• Open models through HF Inference Providers (DeepSeek V4 Flash, gpt-oss-120b), with free fallbacks and a daily cost cap.
• A Workbench tab runs the same tools without any model.
Built with LangGraph + Gradio. I’d love feedback, especially from people building agents for scientific domains.
🔗 Demo: animesh1986/quantum-information-agent
💻 Code and tests: https://github.com/animeshQKD/quantum-information-agent