NativeIsingConverter¶
- class NativeIsingConverter(zero_tol=1e-12)[source]¶
Bases:
BinaryToIsingConverterConvert binary polynomials to Ising operators by exact substitution x=(1-Z)/2.
zero_tolis applied relative to the largest accumulated coefficient on both the input and output sides.Attributes Summary
Relative tolerance for pruning accumulated Z-product weights and input-polynomial coefficients.
Methods Summary
convert(problem)Convert a canonical binary-polynomial problem to an Ising Hamiltonian.
Attributes Documentation
- zero_tol: float = 1e-12¶
Relative tolerance for pruning accumulated Z-product weights and input-polynomial coefficients.
Methods Documentation