Getting started
Background
The Walrus API
brs()
grad_hermite_multidimensional()
hafnian()
hafnian_banded()
hafnian_batched()
hafnian_repeated()
hafnian_sparse()
hermite_multidimensional()
lmtl()
loop_hafnian()
ltor()
matched_reps()
mtl()
perm()
permanent_repeated()
reduction()
tor()
ubrs()
version()
Amat()
Covmat()
Qmat()
Xmat()
adj_scaling()
adj_scaling_torontonian()
adj_to_qmat()
characteristic_function()
complex_to_real_displacements()
entanglement_entropy()
fidelity()
find_classical_subsystem()
fock_tensor()
is_classical_cov()
is_pure_cov()
is_symplectic()
is_valid_cov()
log_negativity()
loss_mat()
mean_clicks()
n_body_marginals()
normal_ordered_expectation()
photon_number_covar()
photon_number_covmat()
photon_number_cumulant()
photon_number_expectation()
photon_number_mean()
photon_number_mean_vector()
photon_number_moment()
photon_number_squared_expectation()
probabilities()
pure_state_distribution()
real_to_complex_displacements()
reduced_gaussian()
s_ordered_expectation()
total_photon_number_distribution()
tvd_cutoff_bounds()
update_probabilities_with_loss()
update_probabilities_with_noise()
variance_clicks()
vonneumann_entropy()
generate_hafnian_sample()
generate_torontonian_sample()
hafnian_sample_classical_state()
hafnian_sample_graph()
hafnian_sample_graph_rank_one()
hafnian_sample_state()
photon_number_sampler()
threshold_detection_prob()
torontonian_sample_classical_state()
torontonian_sample_graph()
torontonian_sample_state()
generate_thermal_samples()
rescale_adjacency_matrix()
rescale_adjacency_matrix_thermal()
beam_splitter()
expand()
expand_passive()
expand_vector()
interferometer()
loss()
mean_photon_number()
passive_transformation()
reduced_state()
rotation()
squeezing()
sympmat()
two_mode_squeezing()
vacuum_state()
xpxp_to_xxpp()
xxpp_to_xpxp()
apply_householder()
charpoly()
get_reflection_vector()
powertrace()
reduce_matrix_to_hessenberg()
randnc()
random_banded_interferometer()
random_block_interferometer()
random_covariance()
random_interferometer()
random_symplectic()
beamsplitter()
displacement()
grad_beamsplitter()
grad_displacement()
grad_mzgate()
grad_squeezing()
grad_two_mode_squeezing()
mzgate()
blochmessiah()
iwasawa()
pre_iwasawa()
symplectic_eigenvals()
takagi()
williamson()
T()
bitstrings()
mapper()
memoized()
partitions()
pmp()
rpmp()
rspm()
splitter()
spm()