Large language models have shown strong results in classical code generation and are increasingly used to write the unit tests that safeguard that code. Whether they can do the same for quantum software is less clear, according to a new paper on arXiv.
The paper introduces QTestBench, a test framework for evaluating LLM-generated quantum code. The framework aims to assess how well LLMs can produce tests for quantum programs, a task that has not been as thoroughly studied as classical code testing.
The abstract does not present experimental findings; it only poses the question. This suggests that QTestBench is an initial attempt to bring the benefits of LLM-assisted testing to the quantum computing domain.