Quantinuum/qujax
View on GitHubInclude function usage examples in docstrings/API documentation
Open
#112 opened on Nov 6, 2023
documentationgood first issue
Repository metrics
- Stars
- (75 stars)
- PR merge metrics
- (PR metrics pending)
Description
It would be nice to have small usage examples for specific functions such as is done e.g. here or here. These examples would be included either directly in the docstring or in the corresponding documentation page.
For instance, get_params_to_statetensor_func could have examples of what happens when no parameterised gates are included in the circuit specification, how to supply custom operations (parameterised and non-parameterised), etc.
Most functions in qujax are currently in need of such examples.