qml.bose¶
Overview¶
This module contains functions and classes for creating and manipulating bosonic operators.
BoseWord and BoseSentence¶
|
Dictionary used to represent a Bose word, a product of bosonic creation and annihilation operators, that can be constructed from a standard dictionary. |
|
Dictionary used to represent a Bose sentence, a linear combination of Bose words, with the keys as BoseWord instances and the values correspond to coefficients. |
Mapping to qubit operators¶
|
Convert a bosonic operator to a qubit operator using the standard-binary mapping. |
|
Convert a bosonic operator to a qubit operator using the unary mapping. |
|
Convert a bosonic operator to a qubit operator using the Christiansen mapping. |