Skip to content

Commit

Permalink
delete FIXME comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hczhai committed Oct 26, 2023
1 parent d876715 commit 57b5122
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions src/core/parallel_tensor_functions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,6 @@ struct ParallelTensorFunctions : TensorFunctions<S, FL> {
OpNames::XR);
if (rmat == nullptr)
continue;
// FIXME: not working for non-singlet
// operators
if (main_opdq.combine(
lmat->info->delta_quantum,
-rmat->info->delta_quantum) ==
Expand Down Expand Up @@ -406,8 +404,6 @@ struct ParallelTensorFunctions : TensorFunctions<S, FL> {
OpNames::XL);
if (lmat == nullptr)
continue;
// FIXME: not working for non-singlet
// operators
if (main_opdq.combine(
lmat->info->delta_quantum,
-rmat->info->delta_quantum) ==
Expand Down Expand Up @@ -523,7 +519,6 @@ struct ParallelTensorFunctions : TensorFunctions<S, FL> {
uint64_t ir = right_idxs[ixr].second;
shared_ptr<SparseMatrix<S, FL>> rmat =
r_partials[ixr];
// FIXME: not working for non-singlet operators
if (main_opdq.combine(
lmat->info->delta_quantum,
-rmat->info->delta_quantum) ==
Expand Down Expand Up @@ -556,7 +551,6 @@ struct ParallelTensorFunctions : TensorFunctions<S, FL> {
shared_ptr<SparseMatrix<S, FL>> rmat =
c_partials[c_compute[i].first].second.at(
c_compute[i].second);
// FIXME: not working for non-singlet operators
tf->opf->tensor_left_partial_expectation(
0, lmat, rmat, cmat, vmat, main_opdq);
});
Expand Down Expand Up @@ -642,7 +636,6 @@ struct ParallelTensorFunctions : TensorFunctions<S, FL> {
uint64_t il = left_idxs[ixl].second;
shared_ptr<SparseMatrix<S, FL>> lmat =
l_partials[ixl];
// FIXME: not working for non-singlet operators
if (main_opdq.combine(
lmat->info->delta_quantum,
-rmat->info->delta_quantum) ==
Expand Down Expand Up @@ -675,7 +668,6 @@ struct ParallelTensorFunctions : TensorFunctions<S, FL> {
shared_ptr<SparseMatrix<S, FL>> lmat =
c_partials[c_compute[i].first].second.at(
c_compute[i].second);
// FIXME: not working for non-singlet operators
tf->opf->tensor_right_partial_expectation(
0, lmat, rmat, cmat, vmat, main_opdq);
});
Expand Down
8 changes: 0 additions & 8 deletions src/core/tensor_functions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -945,8 +945,6 @@ template <typename S, typename FL> struct TensorFunctions {
OpNames::XR);
if (rmat == nullptr)
continue;
// FIXME: not working for non-singlet
// operators
if (main_opdq.combine(
lmat->info->delta_quantum,
-rmat->info->delta_quantum) ==
Expand Down Expand Up @@ -1018,8 +1016,6 @@ template <typename S, typename FL> struct TensorFunctions {
OpNames::XL);
if (lmat == nullptr)
continue;
// FIXME: not working for non-singlet
// operators
if (main_opdq.combine(
lmat->info->delta_quantum,
-rmat->info->delta_quantum) ==
Expand Down Expand Up @@ -1121,7 +1117,6 @@ template <typename S, typename FL> struct TensorFunctions {
uint64_t ir = right_idxs[ixr].second;
shared_ptr<SparseMatrix<S, FL>> rmat =
r_partials[ixr];
// FIXME: not working for non-singlet operators
if (main_opdq.combine(
lmat->info->delta_quantum,
-rmat->info->delta_quantum) ==
Expand Down Expand Up @@ -1153,7 +1148,6 @@ template <typename S, typename FL> struct TensorFunctions {
shared_ptr<SparseMatrix<S, FL>> rmat =
c_partials[c_compute[i].first].second.at(
c_compute[i].second);
// FIXME: not working for non-singlet operators
tf->opf->tensor_left_partial_expectation(
0, lmat, rmat, cmat, vmat, main_opdq);
});
Expand Down Expand Up @@ -1227,7 +1221,6 @@ template <typename S, typename FL> struct TensorFunctions {
uint64_t il = left_idxs[ixl].second;
shared_ptr<SparseMatrix<S, FL>> lmat =
l_partials[ixl];
// FIXME: not working for non-singlet operators
if (main_opdq.combine(
lmat->info->delta_quantum,
-rmat->info->delta_quantum) ==
Expand Down Expand Up @@ -1259,7 +1252,6 @@ template <typename S, typename FL> struct TensorFunctions {
shared_ptr<SparseMatrix<S, FL>> lmat =
c_partials[c_compute[i].first].second.at(
c_compute[i].second);
// FIXME: not working for non-singlet operators
tf->opf->tensor_right_partial_expectation(
0, lmat, rmat, cmat, vmat, main_opdq);
});
Expand Down

0 comments on commit 57b5122

Please sign in to comment.