From e7a604a4130dbd4a00da32317cd46ee69920b183 Mon Sep 17 00:00:00 2001 From: Shuli Shu <08cnbj@gmail.com> Date: Fri, 18 Oct 2024 18:03:44 +0000 Subject: [PATCH] remove some comments --- .../core/src/simulators/lightning_qubit/StateVectorLQubit.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/pennylane_lightning/core/src/simulators/lightning_qubit/StateVectorLQubit.hpp b/pennylane_lightning/core/src/simulators/lightning_qubit/StateVectorLQubit.hpp index 2901160a2..cf0ed2f63 100644 --- a/pennylane_lightning/core/src/simulators/lightning_qubit/StateVectorLQubit.hpp +++ b/pennylane_lightning/core/src/simulators/lightning_qubit/StateVectorLQubit.hpp @@ -369,7 +369,6 @@ class StateVectorLQubit : public StateVectorBase { const std::vector &wires, bool inverse = false, const std::vector ¶ms = {}) { - // Add disjoint check. PL_ABORT_IF_NOT( areVecsDisjoint(controlled_wires, wires), "`controlled_wires` and `target wires` must be disjoint."); @@ -425,7 +424,6 @@ class StateVectorLQubit : public StateVectorBase { const std::vector &wires, bool inverse, const std::vector ¶ms, const std::vector &matrix) { - // Add disjoint check. PL_ABORT_IF_NOT( areVecsDisjoint(controlled_wires, wires), "`controlled_wires` and `target wires` must be disjoint."); @@ -579,7 +577,6 @@ class StateVectorLQubit : public StateVectorBase { const std::vector &controlled_values, const std::vector &wires, bool inverse = false) { - // Add disjoint check. PL_ABORT_IF_NOT( areVecsDisjoint(controlled_wires, wires), "`controlled_wires` and `target wires` must be disjoint.");