From 9d7c360cc71070ddeacd5388408faa33bf20e55c Mon Sep 17 00:00:00 2001 From: Charles Yuan Date: Wed, 17 Jul 2024 11:37:45 -0700 Subject: [PATCH] Update notebook --- qualtran/bloqs/block_encoding/block_encoding.ipynb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/qualtran/bloqs/block_encoding/block_encoding.ipynb b/qualtran/bloqs/block_encoding/block_encoding.ipynb index d77d2efa30..06f2100c81 100644 --- a/qualtran/bloqs/block_encoding/block_encoding.ipynb +++ b/qualtran/bloqs/block_encoding/block_encoding.ipynb @@ -1380,13 +1380,10 @@ }, "outputs": [], "source": [ - "from qualtran.bloqs.block_encoding.sparse_matrix import (\n", - " UniformEntryOracle,\n", - " FullRowColumnOracle,\n", - ")\n", + "from qualtran.bloqs.block_encoding.sparse_matrix import FullRowColumnOracle, UniformEntryOracle\n", "\n", - "row_oracle = FullRowColumnOracle(n=2, num_nonzero=4)\n", - "col_oracle = FullRowColumnOracle(n=2, num_nonzero=4)\n", + "row_oracle = FullRowColumnOracle(2)\n", + "col_oracle = FullRowColumnOracle(2)\n", "entry_oracle = UniformEntryOracle(n=2, entry=0.3)\n", "sparse_matrix_block_encoding = SparseMatrix(row_oracle, col_oracle, entry_oracle, eps=0)" ]