Skip to content

Commit

Permalink
Collapse -> sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Sep 9, 2019
1 parent a4d1b99 commit d584f02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gates/Detector.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ function makeDetectControlClearGate(axis) {
let builder = new GateBuilder().
setSerializedIdAndSymbol(`${axis}DetectControlReset`).
setTitle(`${axis} Detect-Control-Reset`).
setBlurb(`Does a collapsing ${axis}-axis measurement.\nControls operations with the result.\nResets the target to |0⟩.`).
setBlurb(`Does a sampled ${axis}-axis measurement.\nControls operations with the result.\nResets the target to |0⟩.`).
setDrawer(args => drawDetectClearReset(args, axis)).
markAsControlExpecting(true, true).
markAsReachingOtherWires().
Expand Down Expand Up @@ -403,7 +403,7 @@ function makeDetector(axis) {
setSerializedIdAndSymbol(`${axis}Detector`).
setTitle(`${axis} Axis Detector`).
setBlurb(
`Collapsing ${axis}-axis measurement.\n` +
`Sampled ${axis}-axis measurement.\n` +
`Shows *click* when the target qubit is ${state} and controls are satisfied.`).
setDrawer(args => drawDetector(args, axis)).
markAsReachingOtherWires().
Expand Down

0 comments on commit d584f02

Please sign in to comment.