Skip to content

Commit

Permalink
do not simplify constants with defcals
Browse files Browse the repository at this point in the history
  • Loading branch information
jcjaskula-aws committed Sep 29, 2023
1 parent cebf58e commit c75ddd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/braket/circuits/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ def _validate_gate_calbrations_uniqueness(
def _generate_frame_wf_defcal_declarations(
self, gate_definitions: Optional[Dict[Tuple[Gate, QubitSet], PulseSequence]]
) -> Optional[str]:
program = oqpy.Program(None)
program = oqpy.Program(None, simplify_constants=False)

frames, waveforms = self._get_frames_waveforms_from_instrs(gate_definitions)

Expand Down

0 comments on commit c75ddd6

Please sign in to comment.