dwavesystems / dwavebinarycsp

Map constraint satisfaction problems with binary variables to binary quadratic models.
https://docs.ocean.dwavesys.com/projects/binarycsp/en/latest
Apache License 2.0
20 stars 27 forks source link

Add not gate to dwavebinarycsp.factories.constraint.gates #45

Open JoelPasvolsky opened 6 years ago

JoelPasvolsky commented 6 years ago

The people need a NOT gate

arcondello commented 6 years ago

The people should use flip_variable, but if they insist I will add one :smile:

JoelPasvolsky commented 6 years ago

We do insist because it's a neater formulation in problem space to add the gates that correspond to a circuit, so thank you.

JoelPasvolsky commented 5 years ago

https://support.dwavesys.com/hc/en-us/community/posts/360029028353-NOT-NAND-NOR-and-XNOR-gates

As discussed, let's add these gates.