View source on GitHub
|
Modules
binary_code module: Binary code class for Fermion-qubit mappings (arXiv:1712.07067).
binary_polynomial module: symbolic binary class for decoder definitions (arxiv 1712.07067)
boson_operator module: BosonOperator stores a sum of products of bosonic ladder operators.
fermion_operator module: FermionOperator stores a sum of products of fermionic ladder operators.
ising_operator module: IsingOperator stores an Ising-type Hamiltonian, i.e.
majorana_operator module: The MajoranaOperator data structure.
quad_operator module: QuadOperator stores a sum of products of canonical quadrature operators.
qubit_operator module: QubitOperator stores a sum of Pauli operators acting on qubits.
symbolic_operator module: SymbolicOperator is the base class for FermionOperator and QubitOperator
Classes
class BinaryCode: The BinaryCode class provides a representation of an encoding-decoding pair for binary vectors of different lengths, where the decoding is allowed to be non-linear.
class BinaryCodeError: Common base class for all non-exit exceptions.
class BinaryPolynomial: The BinaryPolynomial class provides an analytic representation of non-linear binary functions.
class BinaryPolynomialError: Common base class for all non-exit exceptions.
class BosonOperator: BosonOperator stores a sum of products of bosonic ladder operators.
class FermionOperator: FermionOperator stores a sum of products of fermionic ladder operators.
class IsingOperator: The IsingOperator class provides an analytic representation of an Ising-type Hamiltonian, i.e.
class MajoranaOperator: A linear combination of products of Majorana operators.
class QuadOperator: QuadOperator stores a sum of products of canonical quadrature operators.
class QubitOperator: A sum of terms acting on qubits, e.g., 0.5 * 'X0 X5' + 0.3 * 'Z1 Z2'.
class SymbolicOperator: Base class for FermionOperator and QubitOperator.
Functions
binary_sum_rule(...): Updates terms in place based on binary rules.
double_decoding(...): Concatenates two decodings.
shift_decoder(...): Shifts the indices of a decoder by a constant.
View source on GitHub