Skip to content

Commit

Permalink
Remove sample_rate, add freq.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Osborn committed Sep 17, 2019
1 parent a4b965a commit 5ac10c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion rfcs/analog/examples/capture_delay.quil
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

# TODO: Determine how $qubit is set.
DECLARE scale REAL
DECLARE freq REAL
DECLARE pulse_duration REAL
DECLARE capture_duration REAL
DECLARE sample_rate INTEGER # Determine how this is set
DECLARE iqs REAL[65536]

SET-SCALE $qubit "ro" scale
SET-FREQUENCY $qubit "ro" freq
PULSE $qubit "ro" flat(duration: pulse_duration, iq: ?)

RAW-CAPTURE $qubit "out" capture_duration iqs
2 changes: 1 addition & 1 deletion rfcs/analog/examples/cavity_scan.quil
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DECLARE freq_step REAL
DECLARE scale REAL

# Values set by program
DECLARE buffer REAL[65536] # 16-bit memory
DECLARE buffer REAL[65536]
DECLARE iq REAL[2]
DECLARE freq REAL
DECLARE idx INTEGER
Expand Down

0 comments on commit 5ac10c4

Please sign in to comment.