MCPcopy Index your code
hub / github.com/XanaduAI/thewalrus

github.com/XanaduAI/thewalrus @v0.22.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.22.0 ↗ · + Follow
681 symbols 2,719 edges 58 files 664 documented · 98% updated 7mo agov0.22.0 · 2025-05-15★ 10916 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…

Core symbols most depended-on inside this repo

hafnian
called by 44
thewalrus/_hafnian.py
hafnian_repeated
called by 34
thewalrus/_hafnian.py
two_mode_squeezing
called by 25
thewalrus/symplectic.py
perm
called by 22
thewalrus/_permanent.py
hermite_multidimensional
called by 21
thewalrus/_hermite_multidimensional.py
reduced_gaussian
called by 21
thewalrus/quantum/conversions.py
Qmat
called by 21
thewalrus/quantum/conversions.py
random_interferometer
called by 20
thewalrus/random.py

Shape

Function 494
Method 158
Class 29

Languages

Python100%

Modules by API surface

thewalrus/tests/test_quantum.py114 symbols
thewalrus/tests/test_symplectic.py62 symbols
thewalrus/tests/test_hafnian.py38 symbols
thewalrus/tests/test_samples.py35 symbols
thewalrus/tests/test_decompositions.py31 symbols
thewalrus/_hafnian.py31 symbols
thewalrus/tests/test_permanent.py25 symbols
thewalrus/tests/test_hafnian_repeated.py22 symbols
thewalrus/samples.py20 symbols
thewalrus/reference.py19 symbols
thewalrus/symplectic.py17 symbols
thewalrus/tests/test_torontonian.py16 symbols

For agents

$ claude mcp add thewalrus \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact