Skip to content

Commit 426174a

Browse files
committed
Make type and args more readable.
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
1 parent cd664d1 commit 426174a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

runtime/cudaq/qis/qubit_qis.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)