From d608f06e064bcc2ba412f71308bf18a2a4f67249 Mon Sep 17 00:00:00 2001 From: Shuli Shu <08cnbj@gmail.com> Date: Wed, 9 Oct 2024 00:08:30 +0000 Subject: [PATCH] make format --- pennylane_lightning/core/src/utils/Util.hpp | 2 +- pennylane_lightning/lightning_gpu/lightning_gpu.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pennylane_lightning/core/src/utils/Util.hpp b/pennylane_lightning/core/src/utils/Util.hpp index 5544c96ba9..5478cdbdcb 100644 --- a/pennylane_lightning/core/src/utils/Util.hpp +++ b/pennylane_lightning/core/src/utils/Util.hpp @@ -21,12 +21,12 @@ #include #include #include +#include // integral, floating_point #include #include // transform_reduce #include #include // is_same_v #include -#include // integral, floating_point #include "Error.hpp" #include "TypeTraits.hpp" // remove_complex_t diff --git a/pennylane_lightning/lightning_gpu/lightning_gpu.py b/pennylane_lightning/lightning_gpu/lightning_gpu.py index c568caceb2..3407f5cbf9 100644 --- a/pennylane_lightning/lightning_gpu/lightning_gpu.py +++ b/pennylane_lightning/lightning_gpu/lightning_gpu.py @@ -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(