Incomplete docstring for `measure`: missing custom basis measurement example
lvignoli opened this issue · 2 comments
lvignoli commented
See https://docs.yaoquantum.org/dev/man/registers.html#YaoAPI.measure in the docs.
The example for measuring in a custom basis is cropped.
The docstring is indeed incomplete:
Yao.jl/lib/YaoAPI/src/registers.jl
Lines 412 to 422 in 15eb406
GiggleLiu commented
Oh, that is a good catch. Since this is a document fix, I pushed the commit to the master directly: b8a0cb2
Thank you for the report of document missing!
lvignoli commented
Thanks for the quick fix!