Crate struqture

Source

Modules§

bosons
Module for representing bosonic physical systems
fermions
Module for representing fermionic physical systems
mappings
Module for representing mappings between systems of bosons, fermions and spins.
mixed_systems
Module for representing mixed physical systems
prelude
spins
Module for representing spin physical systems

Structs§

StruqtureSerialisationMeta
Struct encoding serialisation meta information for struqture objects.

Enums§

StruqtureError
Errors that can occur in struqture.
StruqtureType
Enum of all struqture types

Constants§

CURRENT_STRUQTURE_VERSION
MINIMUM_STRUQTURE_VERSION
STRUQTURE_VERSION

Traits§

ConjugationTrait
Helper trait to allow hermitian conjugation of values Should eventually be ported to qoqo_calculator like this and be implemented for CalculatorFloat, CaclulatorComplex, f64 and Complexf64
CorrespondsTo
Trait linking indices of lower symmetry to one with higher symmetry
GetValue
Trait for transforming value stored at index I when using index of different type T to read out value e.g. Hermitian Hamiltonian H but we access H[NOIndex(2,1)] -> H[HermitianIndex(1,2)].conj()
ModeIndex
Trait for all index types requires converting between index types
OpenSystem
Trait for representing complete open systems
OperateOnDensityMatrix
Trait for all objects that can act on a quantum density matrix like a superoperator.
OperateOnModes
Trait for bosonic or fermionic modes.
OperateOnState
Trait for all objects that can act on a quantum state like an operator.
SerializationSupport
Trait for implementing a function to determine the minimum supported version of struqture required.
SpinIndex
Trait for all index types requires converting between index types
SymmetricIndex
Trait for all hermitian indices
TruncateTrait
Helper trait to allow truncation of values below threshold. Should eventually be ported to qoqo_calculator like this and be implemented for CalculatorFloat, CaclulatorComplex, f64 and Complexf64

Functions§

check_can_be_deserialised
Checks if a source object (e.g. something deserialised from JSON) can be deserialized into the tager type.

Type Aliases§

CooSparseMatrix
Complex sparse matrix in coordinate (COO) format.
CooSparseMatrixReal
Real sparse matrix in coordinate (COO) format.