Skip to content

Commit e2211df

Browse files
author
XIN XIE
committed
Inline NEON ApplyGateH implementation
1 parent 4cd92f9 commit e2211df

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

lib/simulator_neon.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,6 @@ class SimulatorNEON final : public SimulatorBase {
324324
void ApplyGateH(
325325
const std::vector<unsigned>& qs, const fp_type* matrix,
326326
State& state) const {
327-
ApplyGateHImpl(std::integral_constant<unsigned, H>{}, qs, matrix, state);
328-
}
329-
330-
template <unsigned H>
331-
void ApplyGateHImpl(
332-
std::integral_constant<unsigned, H>, const std::vector<unsigned>& qs,
333-
const fp_type* matrix, State& state) const {
334327
auto f = [](unsigned n, unsigned m, uint64_t i, const fp_type* v,
335328
const uint64_t* ms, const uint64_t* xss, fp_type* rstate) {
336329
constexpr unsigned hsize = 1 << H;

0 commit comments

Comments
 (0)