File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -57,18 +57,18 @@ constexpr unsigned count_leading_floats() {
5757 return len;
5858}
5959
60- template <typename KrausChannelT, typename ... Q >
60+ template <typename KrausChannelT, typename ... Args >
6161#if CUDAQ_USE_STD20
6262 requires (std::derived_from<KrausChannelT, cudaq::kraus_channel>)
6363#endif
64- void apply_noise (Q &&...qs ) {
65- constexpr auto ctor_arity = count_leading_floats<0 , Q ...>();
66- constexpr auto qubit_arity = sizeof ...(qs ) - ctor_arity;
64+ void apply_noise (Args &&...args ) {
65+ constexpr auto ctor_arity = count_leading_floats<0 , Args ...>();
66+ constexpr auto qubit_arity = sizeof ...(args ) - ctor_arity;
6767
6868#if 0
6969 details::applyNoiseImpl<KrausChannelT>(
70- details::tuple_slice<ctor_arity>(std::forward_as_tuple(qs ...)),
71- details::tuple_slice_last<qubit_arity>(std::forward_as_tuple(qs ...)));
70+ details::tuple_slice<ctor_arity>(std::forward_as_tuple(args ...)),
71+ details::tuple_slice_last<qubit_arity>(std::forward_as_tuple(args ...)));
7272#endif
7373}
7474
You can’t perform that action at this time.
0 commit comments