PauliTerm Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Data structure for sparse representations of Pauli terms.
public struct PauliTerm : IEquatable<Microsoft.Quantum.Chemistry.Paulis.PauliTerm>, Microsoft.Quantum.Chemistry.ITermIndex<Microsoft.Quantum.Chemistry.TermType.PauliTerm,Microsoft.Quantum.Chemistry.Paulis.PauliTerm>
type PauliTerm = struct
interface ITermIndex<TermType.PauliTerm, PauliTerm>
Public Structure PauliTerm
Implements IEquatable(Of PauliTerm), ITermIndex(Of TermType.PauliTerm, PauliTerm)
- Inheritance
-
PauliTerm
- Implements
Constructors
| PauliTerm(IEnumerable<Int32>, TermType+PauliTerm) |
Construct instance from sequence of qubit indices. |
| PauliTerm(PauliTerm) |
Construct a copy of the input instance. |
Properties
| QubitIndices |
Qubit indices that represent this Pauli string. |
| Sign |
Returns the sign of this term. |
| TermType |
LadderType of Pauli string encoded by list of qubit indices. |
Methods
| Clone() |
Creates a copy of this instance. |
| Equals(Object) | |
| GetHashCode() | |
| ResetSign() |
Sets the sign of this fermion term to one. |
| ToString() |
Returns a human-readable description of this object. |
Operators
| Equality(PauliTerm, PauliTerm) | |
| Inequality(PauliTerm, PauliTerm) |
Explicit Interface Implementations
| IEquatable<PauliTerm>.Equals(PauliTerm) |