Describe the bug
Under Jupyter, when 8 or more Qubits used, DumpMachine sometimes outputs 8-bit row labels, sometimes 16-bit labels.
To Reproduce
Run these two cells under Jupyter:
open Microsoft.Quantum.Canon;
open Microsoft.Quantum.Intrinsic;
open Microsoft.Quantum.Diagnostics;
operation TestDump(n:Int) : Unit
{
use qs = Qubit[n];
for i in 0..n-1 {
H(qs[i]); // put all bits into equal superposition.
}
DumpMachine();
ResetAll(qs);
}
Describe the bug Under Jupyter, when 8 or more Qubits used, DumpMachine sometimes outputs 8-bit row labels, sometimes 16-bit labels.
To Reproduce Run these two cells under Jupyter:
Expected behavior All rows should be labelled consistently, as they are whenever n < 8.
Screenshots
System information
Additional context Add any other context about the problem here.