Skip to content

Commit c83e2be

Browse files
authored
Merge branch 'master' into mhucka-update-nbformat
2 parents 99bc56e + fa932bf commit c83e2be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow_quantum/core/ops/tfq_simulate_state_op.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ class TfqSimulateStateOp : public tensorflow::OpKernel {
151151

152152
// Parallel copy state vector information from qsim into tensorflow
153153
// tensors.
154-
auto copy_f = [i, nq, max_num_qubits, &output_tensor, &ss, &sv](
155-
uint64_t start, uint64_t end) {
154+
auto copy_f = [i, nq, &output_tensor, &ss, &sv](uint64_t start,
155+
uint64_t end) {
156156
uint64_t crossover = uint64_t(1) << nq;
157157
uint64_t upper = std::min(end, crossover);
158158

0 commit comments

Comments
 (0)