File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
libs/qec/include/cudaq/qec Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11/* ***************************************************************-*- C++ -*-****
2- * Copyright (c) 2024 NVIDIA Corporation & Affiliates. *
2+ * Copyright (c) 2024 - 2025 NVIDIA Corporation & Affiliates. *
33 * All rights reserved. *
44 * *
55 * This source code and the accompanying materials are made available under *
@@ -97,17 +97,15 @@ class decoder
9797 // / @brief Decode a single syndrome
9898 // / @param syndrome A vector of syndrome measurements where the floating point
9999 // / value is the probability that the syndrome measurement is a |1>. The
100- // / length of the syndrome vector should be an integer multiple of the
101- // / decoder's \p syndrome_size.
100+ // / length of the syndrome vector should be equal to \p syndrome_size.
102101 // / @returns Vector of length \p block_size with soft probabilities of errors
103102 // / in each index.
104103 virtual decoder_result decode (const std::vector<float_t > &syndrome) = 0;
105104
106105 // / @brief Decode a single syndrome
107106 // / @param syndrome An order-1 tensor of syndrome measurements where a 1 bit
108107 // / represents that the syndrome measurement is a |1>. The
109- // / length of the syndrome vector should be an integer multiple of the
110- // / decoder's \p syndrome_size.
108+ // / length of the syndrome vector should be equal to \p syndrome_size.
111109 // / @returns Vector of length \p block_size of errors in each index.
112110 virtual decoder_result decode (const cudaqx::tensor<uint8_t > &syndrome);
113111
You can’t perform that action at this time.
0 commit comments