Skip to content

Commit

Permalink
Update notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesyuan314 committed Jul 18, 2024
1 parent 915a24f commit 9d7c360
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions qualtran/bloqs/block_encoding/block_encoding.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
]
Expand Down

0 comments on commit 9d7c360

Please sign in to comment.