%who

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

The Modern QDK only supports the '%%qsharp' magic command.

Summary

Lists the Q# operations available in the current session.

Description

This magic command returns a list of Q# operations and functions that are available in the current IQ# session for use with magic commands such as %simulate and %estimate.

The list will include Q# operations and functions which have been defined interactively within cells in the current notebook (after the cells have been executed), as well as any Q# operations and functions defined within .qs files in the current folder.

Examples for %who

Example 1

Display the list of Q# operations and functions available in the current session:

In []: %who
Out[]: <list of Q# operation and function names>