Skip to main content
IBM Quantum Platform
Informations sur la traduction

D'autres traductions de cette page seront bientôt disponibles.

Operator Representations

This module provides the data structures for representing bosonic operators.

Chronique « 1 »
Chronique « 2 »
OperatorTrait(*args, **kwargs)A protocol indicating all methods implemented by operator classes.

Boson Operator

This operator represents bosonic operators in terms of the second-quantization creation and annihilation operators, which obey the canonical commutation relations

[bi,bj†]=δij,[bi,bj]=[bi†,bj†]=0 .\left[b_i, b^\dagger_j\right] = \delta_{ij}, \qquad \left[b_i, b_j\right] = \left[b^\dagger_i, b^\dagger_j\right] = 0 \, .
Chronique « 1 »
Chronique « 2 »
BosonActionA bosonic creation or annihilation action.
Chronique « 1 »
Chronique « 2 »
BosonOperator(coeffs, actions, modes, boundaries)A bosonic operator.
cre(mode)Constructs a creation action on the bosonic mode at mode.
ann(mode)Constructs an annihilation action on the bosonic mode at mode.
Note

A bosonic mode has an infinite-dimensional Fock space. BosonOperator is exact and carries no occupation cutoff; a truncation is introduced only when mapping to qubits (see qiskit_bosons.mappers). Two consequences are visible directly in this API: a mode index may repeat within a single term, and max_occupation() and mode_occupations() report the cutoff such a term demands.


Operator Library

A library of the model Hamiltonians that recur in bosonic simulation is provided in qiskit_bosons.operators.library.

Cette page a-t-elle été utile ?
Signaler un bogue, une coquille ou proposer du contenu sur GitHub.