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 2c2969a commit 4b3de64
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions exe/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ void run() {
Eigen::Matrix<StdComplex, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> mat(4, 4);
mat << 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15;

auto dense_gate = gate::DenseMatrix({1, 3}, mat);
std::cout << dense_gate << std::endl;
// 以下のコメントアウトは後で外す
// auto dense_gate = gate::DenseMatrix({1, 3}, mat);
// std::cout << dense_gate << std::endl;

auto sparse_gate = gate::SparseMatrix({2, 0}, mat.sparseView());
std::cout << sparse_gate << std::endl;
// auto sparse_gate = gate::SparseMatrix({2, 0}, mat.sparseView());
// std::cout << sparse_gate << std::endl;
}

int main() {
Expand Down

0 comments on commit 4b3de64

Please sign in to comment.