Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

%trace magic command is not displaying the quantum circuit #557

Open
GabrielPontolillo opened this issue Jan 3, 2022 · 1 comment
Open
Labels
Area-Client Issue relates to JavaScript client (Notebook, Lab, AzNB, etc.) Kind-Bug Something isn't working Status-NeedMoreInfo Further information is requested

Comments

@GabrielPontolillo
Copy link

Describe the bug
Trace is not producing any output

To Reproduce

  1. Open a new Q# file with Jupyter notebook

  2. Make an operation

operation Xgate () : Result {
    use qubit = Qubit[1];
    X(qubit[0]);
    return M(qubit[0]);
}
  1. Run with the %trace command
%trace Xgate

Expected behavior
There should be a single qubit circuit with an Pauli X and Measurement gate displayed

Screenshots
image

System information

  • OS: Windows 10
  • Browser [Chrome]
  • Version [e.g. 96.0.4664.110 ]
@GabrielPontolillo GabrielPontolillo changed the title %trace magic command is not working for me %trace magic command is not producing circuit trace image Jan 3, 2022
@GabrielPontolillo GabrielPontolillo changed the title %trace magic command is not producing circuit trace image %trace magic command is not displaying circuit trace Jan 3, 2022
@GabrielPontolillo GabrielPontolillo changed the title %trace magic command is not displaying circuit trace %trace magic command is not displaying the quantum circuit Jan 3, 2022
@cgranade
Copy link
Contributor

Apologies for missing your issue! In any case, we've been unable to reproduce the behavior above; to help us do so, would you be willing to provide output from your JavaScript console (accessible by using the web developer tools provided with Chrome)? Thank you!

@cgranade cgranade added Kind-Bug Something isn't working Status-NeedMoreInfo Further information is requested Area-Client Issue relates to JavaScript client (Notebook, Lab, AzNB, etc.) labels Sep 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area-Client Issue relates to JavaScript client (Notebook, Lab, AzNB, etc.) Kind-Bug Something isn't working Status-NeedMoreInfo Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants