Skip to content

Commit

Permalink
temporary change for reducing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Glacialte committed Oct 15, 2024
1 parent 2e8b2c9 commit 2c2969a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scaluq/gate/gate_matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,11 @@ class SparseMatrixGateImpl : public GateBase {
eigen_matrix(vec_h(i).r, vec_h(i).c) = vec_h(i).val;
}

// return std::make_shared<const DenseMatrixGateImpl>(
// _target_mask, _control_mask, eigen_matrix.inverse().eval());
// 以下は消して上を使う
return std::make_shared<const DenseMatrixGateImpl>(
_target_mask, _control_mask, eigen_matrix.inverse().eval());
_target_mask, _control_mask, eigen_matrix);
}

Matrix get_matrix_internal() const {
Expand Down

0 comments on commit 2c2969a

Please sign in to comment.