Skip to content

Commit

Permalink
Revert input streaming behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
deanpoulos committed Nov 29, 2024
1 parent 71d640f commit 0c22cf8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def run_phased_xz_commands(self, qmm: QuantumMachinesManager, num_averages: int)
def _insert_all_input_stream(self, job, sequences):
for sequence in tqdm(sequences, desc='Running test-sequences', unit='sequence'):
self.sequence_tracker.make_sequence(sequence)
# job.insert_input_stream("__gates_len_is__", len(sequence))
# for qe in self.rb._rb_baker.all_elements:
# job.insert_input_stream(f"{qe}_is", self.rb._decode_sequence_for_element(qe, sequence))
job.insert_input_stream("__gates_len_is__", len(sequence))
for qe in self.rb._rb_baker.all_elements:
job.insert_input_stream(f"{qe}_is", self.rb._decode_sequence_for_element(qe, sequence))

def _phased_xz_commands_program(self, num_sequences: int, num_averages: int) -> Program:
with program() as prog:
Expand Down

0 comments on commit 0c22cf8

Please sign in to comment.