quchip.devices.spaces¶
Backend-neutral local Hilbert spaces and their named operators.
Classes
|
Finite integer-charge basis centered on zero charge. |
|
Named local operators supplied as matrices or zero-argument JAX callables. |
|
Finite Fock ladder with the standard bosonic and qubit operators. |
Numerical realization of the operators used by one device model. |
|
|
Uniform endpoint-excluded phase grid with nonperiodic finite differences. |
- class quchip.devices.spaces.LocalSpace[source]¶
Bases:
ABCNumerical realization of the operators used by one device model.
- class quchip.devices.spaces.FockSpace(levels)[source]¶
Bases:
LocalSpaceFinite Fock ladder with the standard bosonic and qubit operators.
- Parameters:
levels (int)
- class quchip.devices.spaces.ChargeSpace(num_basis)[source]¶
Bases:
LocalSpaceFinite integer-charge basis centered on zero charge.
- Parameters:
num_basis (int)
- class quchip.devices.spaces.PhaseGridSpace(points, extent)[source]¶
Bases:
LocalSpaceUniform endpoint-excluded phase grid with nonperiodic finite differences.
The centered-difference stencil does not wrap across the grid boundary; values beyond either endpoint are treated as zero.
- class quchip.devices.spaces.CustomSpace(dimension, operators)[source]¶
Bases:
LocalSpaceNamed local operators supplied as matrices or zero-argument JAX callables.