Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
multiphaseCFD committed Oct 9, 2024
1 parent a57b5ee commit d608f06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pennylane_lightning/core/src/utils/Util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
#include <algorithm>
#include <cmath>
#include <complex>
#include <concepts> // integral, floating_point
#include <numbers>
#include <numeric> // transform_reduce
#include <set>
#include <type_traits> // is_same_v
#include <vector>
#include <concepts> // integral, floating_point

#include "Error.hpp"
#include "TypeTraits.hpp" // remove_complex_t
Expand Down
2 changes: 0 additions & 2 deletions pennylane_lightning/lightning_gpu/lightning_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,6 @@ def simulate(
Note that this function can return measurements for non-commuting observables simultaneously.
"""
#if circuit.shots and (any(isinstance(op, MidMeasureMP) for op in circuit.operations)):
# raise qml.DeviceError("LightningGPU does not support Mid-circuit measurements.")
if circuit.shots and (any(isinstance(op, MidMeasureMP) for op in circuit.operations)):
results = []
aux_circ = qml.tape.QuantumScript(

Check warning on line 513 in pennylane_lightning/lightning_gpu/lightning_gpu.py

View check run for this annotation

Codecov / codecov/patch

pennylane_lightning/lightning_gpu/lightning_gpu.py#L512-L513

Added lines #L512 - L513 were not covered by tests
Expand Down

0 comments on commit d608f06

Please sign in to comment.