Skip to content

Commit

Permalink
patched DrawPauliTransferMap labelling
Browse files Browse the repository at this point in the history
Previously, "PauliStringForm" values "String" and "Kronecker" did not heed the target qubits of the drawn map. This meant the drawn graph nodes were labelled as Pauli strings which targeted the least significant qubits. That is, the "internal, relative" states of the map were labelled, rather than of the targeted qubits
  • Loading branch information
TysonRayJones committed Apr 1, 2024
1 parent 29913d6 commit 286802e
Show file tree
Hide file tree
Showing 3 changed files with 758 additions and 344 deletions.
4 changes: 2 additions & 2 deletions Link/QuESTlink.m
Original file line number Diff line number Diff line change
Expand Up @@ -5276,9 +5276,9 @@ variable renaming in nested scoping structs (Module[ Function[]]) *)
"Index",
Identity,
"Kronecker",
GetPauliStringReformatted[GetPauliString[#], Length[targs], "Kronecker"] &,
GetPauliStringReformatted[GetPauliString[#,targs,"RemoveIds"->False], "Kronecker"] &,
"String",
GetPauliStringReformatted[GetPauliString[#], Length[targs], "String"] &,
GetPauliStringReformatted[GetPauliString[#,targs,"RemoveIds"->False], "String"] &,
"Hidden",
("" &),
_,
Expand Down

0 comments on commit 286802e

Please sign in to comment.