Skip to content

Commit

Permalink
Add dummy function
Browse files Browse the repository at this point in the history
  • Loading branch information
mudit2812 committed Jan 20, 2025
1 parent 397273b commit 46a94e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pennylane/transforms/dynamic_one_shot.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ def null_postprocessing(results):
return results[0]


def _get_plxpr_cancel_inverses():
return


@transform
def dynamic_one_shot(tape: QuantumScript, **kwargs) -> tuple[QuantumScriptBatch, PostprocessingFn]:
"""Transform a QNode to into several one-shot tapes to support dynamic circuit execution.
Expand Down

0 comments on commit 46a94e7

Please sign in to comment.