recruit-communications / pyqubo

Python DSL for constructing QUBOs from mathematical expressions.
https://pyqubo.readthedocs.io/
Apache License 2.0
177 stars 46 forks source link

The wrong for auxiliary variables #229

Open rura1128 opened 10 months ago

rura1128 commented 10 months ago

I am turning the quartic term to quadratic term, my objective function is like f= q3p6p1+ .....+q4q3p2......+....+q4q3p6p1, it will produce the auxiliary variables p6p1, q4q3 and q4q3p6. But actually q4q3*p6 don't need