-
Notifications
You must be signed in to change notification settings - Fork 934
Add sample for %trace magic command #390
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I'd suggest not merging this into master, though, until the feature has been released, so that users aren't surprised when the sample doesn't work with the current version. Perhaps we should target this to a release branch?
@cgranade which release branch should I target this to? |
Good question! I'm not sure we have one set up yet, do you know if we have one for 0.12.2008, @anpaz-msft? If not, I'd suggest |
} | ||
}, | ||
"source": [ | ||
"We can extend this to visualize useful quantum algorithms, such as the Deutsch–Jozsa algorithm. The following operation can be found in our Q# samples [here](https://github.com/microsoft/Quantum/blob/master/samples/getting-started/simple-algorithms/SimpleAlgorithms.qs)." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This link needs to be changed to: https://github.com/microsoft/Quantum/blob/main/samples/getting-started/simple-algorithms/DeutschJozsa.qs
This PR adds a sample that provides documentation on how to visualize Q# programs using the
%trace
command (reference). This is part of the feature request listed here.