microsoft / Quantum

Microsoft Quantum Development Kit Samples
https://docs.microsoft.com/quantum
MIT License
3.87k stars 918 forks source link

Don't use "failed" in the normal RUS loop logs #785

Open tcNickolas opened 1 year ago

tcNickolas commented 1 year ago

https://github.com/microsoft/Quantum/blob/main/samples/diagnostics/unit-testing/RepeatUntilSuccessCircuits.qs uses the word "failed" in the context that doesn't actually indicate a test failure, merely a normal life stage of a RUS loop. This makes test logs harder to navigate when looking for a failing test (I noticed these logs when I was looking for another issue). Would it make sense to rephrase this message to something like "We failed. Outcomes of measuring first and second auxiliary qubits ..." -> "Undesired outcomes of measuring first and second auxiliary qubits ..."?