Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
notmgsk committed Nov 19, 2020
1 parent c4238a0 commit 2be9bad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyquil/api/_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,9 @@ def calibration_program(self) -> Program:
@_record_call
def expand_calibrations(self, program: Program, discard_defcals: bool = True) -> Program:
# Prepend the system's calibrations to the user's calibrations
calibrated_program = self.calibration_program + program.copy_everything_except_instructions()
calibrated_program = (
self.calibration_program + program.copy_everything_except_instructions()
)
for instruction in program:
calibrated_instruction = calibrated_program.calibrate(instruction)
calibrated_program.inst(calibrated_instruction)
Expand Down

0 comments on commit 2be9bad

Please sign in to comment.