Прочитај на енглеском

Делите путем


Microsoft.Quantum.Chemistry.Json Namespace

Classes

FermionWavefunctionJsonConverter

This Newtonsoft.Json.JsonConverter allows correctly serialized HamiltonianTerms. This terms are in general problematic because their keys are not strings, but Microsoft.Quantum.Chemistry.Generic.HamiltonianTerm instances, which Newtonsoft.Json doesn't like by default. This converts the Dictionaries to List of Tuples, in which the first item of the tuple is the key and the second the value.

HamiltonianTermsJsonConverter

This JsonConverter allows correctly serialized HamiltonianTerms. This terms are in general problematic because their keys are not strings, but HamiltonianTerms, which json.net doesn't like by default. This converts the Dictionaries to List of Tuples, in which the first item of the tuple is the key and the second the value.

LadderOperatorJsonConverter

This JsonConverter encodes of a LadderOperator as a System.ValueTuple instead of as an object.

LadderSequenceJsonConverter

This JsonConverter encodes of a LadderSequence as a Tuple instead of as an object.