Skip to content

Commit

Permalink
Don't need FlushBuffers() in IsSeparable()
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Nov 7, 2024
1 parent 55fbe02 commit 53b992b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/qbdt/tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,6 @@ bool QBdt::IsSeparable(bitLenInt start)
"QBdt::IsSeparable() start parameter must be at least 1 and less than the QBdt qubit width!");
}

FlushBuffers();

// If the tree has been fully reduced, this should ALWAYS be the same for ALL branches
// (that have nonzero amplitude), if-and-only-if the state is separable.
QBdtNodeInterfacePtr subsystemPtr = NULL;
Expand Down

0 comments on commit 53b992b

Please sign in to comment.