This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Description Describe the bug
I saw that the %trace magic got merged into master recently, and went to try it but can reliably stack overflow it.
To Reproduce
Steps to reproduce the behavior:
Run the snippet below in a notebook
open Microsoft.Quantum.Arithmetic;
open Microsoft.Quantum.Convert;
operation TestCrash() : Unit {
using (addressRegister = Qubit[1]) {
ApplyPauliFromBitString(PauliX, true, IntAsBoolArray(0, 1), addressRegister);
ResetAll(addressRegister);
}
}
Run the trace magic
I set $env:IQSHARP_LOG_LEVEL = "Debug" and can watch it stack overflow each time I run the trace magic.
Expected behavior
A pretty drawn circuit showing what got run in my program
Screenshots
You can see the dead kernel badge in the top right
System information
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Describe the bug
I saw that the
%tracemagic got merged into master recently, and went to try it but can reliably stack overflow it.To Reproduce
Steps to reproduce the behavior:
I set
$env:IQSHARP_LOG_LEVEL = "Debug"and can watch it stack overflow each time I run the trace magic.Expected behavior
A pretty drawn circuit showing what got run in my program
Screenshots

You can see the dead kernel badge in the top right
System information
Additional context
Add any other context about the problem here.