Skip to content
Dynamiqs
basis_dm
Initializing search
dynamiqs
Home
Documentation
Python API
Community
Dynamiqs
dynamiqs
Home
Documentation
Documentation
Getting started
Getting started
What is Dynamiqs?
Installation
Basic examples
The sharp bits 🔪
Learn the basics
Learn the basics
Workflow in Dynamiqs
Time-dependent operators
Closed systems
Open systems
Batching simulations
Computing gradients
Advanced examples
Advanced examples
Driven-dissipative Kerr oscillator
Python API
Python API
Quantum solvers
Quantum solvers
sesolve
mesolve
smesolve
sepropagator
mepropagator
floquet
Core
Core
Time-dependent arrays
Time-dependent arrays
TimeArray
constant
pwc
modulated
timecallable
Solvers (dq.solver)
Solvers (dq.solver)
Tsit5
Dopri5
Dopri8
Kvaerno3
Kvaerno5
Euler
Rouchon1
Rouchon2
Expm
Gradients (dq.gradient)
Gradients (dq.gradient)
Autograd
CheckpointAutograd
Options
Results
Results
SESolveResult
MESolveResult
SEPropagatorResult
MEPropagatorResult
FloquetResult
Utilities
Utilities
Operators
Operators
eye
zero
destroy
create
number
parity
displace
squeeze
quadrature
position
momentum
sigmax
sigmay
sigmaz
sigmap
sigmam
hadamard
rx
ry
rz
sgate
tgate
cnot
toffoli
States
States
fock
fock_dm
basis
basis_dm
coherent
coherent_dm
ground
excited
Quantum utilities
Quantum utilities
dag
powm
expm
cosm
sinm
trace
tracemm
ptrace
tensor
expect
norm
unit
dissipator
lindbladian
isket
isbra
isdm
isop
isherm
toket
tobra
todm
proj
braket
overlap
fidelity
entropy_vn
bloch_coordinates
wigner
JAX-related utilities
JAX-related utilities
to_qutip
set_device
set_precision
set_matmul_precision
Vectorization
Vectorization
operator_to_vector
vector_to_operator
spre
spost
sprepost
sdissipator
slindbladian
Quantum optimal control
Quantum optimal control
snap_gate
cd_gate
Random arrays (dq.random)
Random arrays (dq.random)
real
complex
herm
psd
dm
ket
Plotting (dq.plot)
Plotting (dq.plot)
wigner
wigner_mosaic
wigner_gif
pwc_pulse
fock
fock_evolution
hinton
gifit
grid
mplstyle
Community
Community
Contributing
Let's talk!
Citing Dynamiqs
dq.basis_dm
basis_dm
(
dim
:
int
|
tuple
[
int
,
...
],
number
:
ArrayLike
)
->
Array
Alias of
dq.fock_dm()
.
Back to top