Skip to content

Commit

Permalink
Match post-selection labels to wire input labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Aug 12, 2019
1 parent 2d0e00a commit ac4bd62
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 @@ -56,7 +56,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 @@ -67,7 +67,7 @@ PostSelectionGates.PostSelectAntiX = new GateBuilder().
PostSelectionGates.PostSelectX = new GateBuilder().
setAlternate(PostSelectionGates.PostSelectAntiX).
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 @@ -77,7 +77,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("|i⟩⟨i|").
setTitle("Postselect Y-Off").
setBlurb("Keeps ON+iOFF states, discards ON-iOFF states.").
setDrawer(POST_SELECT_DRAWER).
Expand All @@ -88,7 +88,7 @@ PostSelectionGates.PostSelectAntiY = new GateBuilder().
PostSelectionGates.PostSelectY = new GateBuilder().
setAlternate(PostSelectionGates.PostSelectAntiY).
setSerializedId("|/⟩⟨/|"). // The cross/slash convention was switched, but the serialized id must stay the same.
setSymbol("|⊗⟩⟨⊗|").
setSymbol("|-i⟩⟨-i|").
setTitle("Postselect Y-On").
setBlurb("Keeps ON-iOFF states, discards/retries ON+iOFF states.").
setDrawer(POST_SELECT_DRAWER).
Expand Down

0 comments on commit ac4bd62

Please sign in to comment.