title | description | author | uid | ms.author | ms.date | ms.topic |
---|---|---|---|---|---|---|
%who (magic command) |
Lists the Q# operations available in the current session. |
anjbur |
microsoft.quantum.iqsharp.magic-ref.who |
anburton |
07/28/2023 |
managed-reference |
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.
Lists the Q# operations available in the current session.
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.
Display the list of Q# operations and functions available in the current session:
In []: %who
Out[]: <list of Q# operation and function names>