File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -827,6 +827,8 @@ class QEngine : public IDisplay, public IJSON {
827827 * \brief Executes the entire quantum circuit description
828828 *
829829 * \param reps Number of repetitions
830+ * \param try_sampling If possible, try to sample from the output (instead
831+ * of measuring)
830832 * \return Reference to the current instance
831833 */
832834 virtual QEngine& execute (idx reps = 1 , bool try_sampling = true ) {
Original file line number Diff line number Diff line change @@ -156,15 +156,16 @@ using qram = std::vector<idx>;
156156 * \brief Variant type-matching utility for std::visit
157157 * \tparam Ts Type list
158158 */
159- template <class ... Ts>
159+ template <typename ... Ts>
160160struct overloaded : Ts... {
161161 using Ts::operator ()...;
162162};
163163
164164/* *
165165 * \brief Template deduction rule
166+ * \tparam Ts Type list
166167 */
167- template <class ... Ts>
168+ template <typename ... Ts>
168169overloaded (Ts...) -> overloaded<Ts...>;
169170
170171} /* namespace qpp */
You can’t perform that action at this time.
0 commit comments