PauliHamil Struct Reference

A Pauli Hamiltonian, expressed as a real-weighted sum of pauli products, and which can hence represent any Hermitian operator. More...

#include <QuEST.h>

Data Fields

int numQubits
 The number of qubits informing the Hilbert dimension of the Hamiltonian. More...
 
int numSumTerms
 The number of terms in the weighted sum, or the number of Pauli products. More...
 
enum pauliOpTypepauliCodes
 The Pauli operators acting on each qubit, flattened over every operator. More...
 
qrealtermCoeffs
 The real coefficient of each Pauli product. This is an array of length PauliHamil.numSumTerms;. More...
 

Detailed Description

A Pauli Hamiltonian, expressed as a real-weighted sum of pauli products, and which can hence represent any Hermitian operator.

Author
Tyson Jones

Field Documentation

◆ numQubits

int PauliHamil::numQubits

◆ numSumTerms

int PauliHamil::numSumTerms

◆ pauliCodes

enum pauliOpType* PauliHamil::pauliCodes

◆ termCoeffs


The documentation for this struct was generated from the following file: