Skip to content

Commit

Permalink
Use circled characters in X/Y post-selection gate symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Sep 19, 2017
1 parent 0dccfae commit 1dfaf63
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gates/PostSelectionGates.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ PostSelectionGates.PostSelectOn = new GateBuilder().
/** @type {!Gate} */
PostSelectionGates.PostSelectAntiX = new GateBuilder().
setSerializedId("|+⟩⟨+|"). // The +/- drawing convention was switched, but the serialized id must stay the same.
setSymbol("|-⟩⟨-|").
setSymbol("|⊖⟩⟨⊖|").
setTitle("Postselect X-Off").
setBlurb("Keeps ON+OFF states, discards/retries ON-OFF states.").
setDrawer(POST_SELECT_DRAWER).
Expand All @@ -65,7 +65,7 @@ PostSelectionGates.PostSelectAntiX = new GateBuilder().
/** @type {!Gate} */
PostSelectionGates.PostSelectX = new GateBuilder().
setSerializedId("|-⟩⟨-|"). // The +/- drawing convention was switched, but the serialized id must stay the same.
setSymbol("|+⟩⟨+|").
setSymbol("|⊕⟩⟨⊕|").
setTitle("Postselect X-On").
setBlurb("Keeps ON-OFF states, discards/retries ON+OFF states.").
setDrawer(POST_SELECT_DRAWER).
Expand All @@ -75,7 +75,7 @@ PostSelectionGates.PostSelectX = new GateBuilder().
/** @type {!Gate} */
PostSelectionGates.PostSelectAntiY = new GateBuilder().
setSerializedId("|X⟩⟨X|"). // The cross/slash convention was switched, but the serialized id must stay the same.
setSymbol("|/⟩⟨/|").
setSymbol("|⊘⟩⟨⊘|").
setTitle("Postselect Y-Off").
setBlurb("Keeps ON+iOFF states, discards ON-iOFF states.").
setDrawer(POST_SELECT_DRAWER).
Expand All @@ -85,7 +85,7 @@ PostSelectionGates.PostSelectAntiY = new GateBuilder().
/** @type {!Gate} */
PostSelectionGates.PostSelectY = new GateBuilder().
setSerializedId("|/⟩⟨/|"). // The cross/slash convention was switched, but the serialized id must stay the same.
setSymbol("|X⟩⟨X|").
setSymbol("|⊗⟩⟨⊗|").
setTitle("Postselect Y-On").
setBlurb("Keeps ON-iOFF states, discards/retries ON+iOFF states.").
setDrawer(POST_SELECT_DRAWER).
Expand Down

0 comments on commit 1dfaf63

Please sign in to comment.