Skip to content

Commit

Permalink
Update qadence/mitigations/analog_zne.py
Browse files Browse the repository at this point in the history
Co-authored-by: raja <[email protected]>
  • Loading branch information
RolandMacDoland and rajaiitp authored Dec 18, 2023
1 parent 18e134e commit d302388
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qadence/mitigations/analog_zne.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def mutate_params(block: AbstractBlock, stretch: float) -> AbstractBlock:
stretched_duration = block.parameters.duration * stretch
stretched_omega = block.parameters.omega / stretch
stretched_delta = block.parameters.delta / stretch
# The Hamiltonian scaling has no effect on the phase parameter
phase = block.parameters.phase
qubit_support = block.qubit_support
return AnalogRot(
Expand Down

0 comments on commit d302388

Please sign in to comment.