Problem 2: Represent an AND Constraint on a Two-Qubit System

1

Comments

4 comments
  • hm, looking at the formula, i think the Q must be equal -1 to minimize the cost function? :-)

    3
    Comment actions Permalink
  • dimod.BinaryQuadraticModel({1: 0, 2: 0},{(1, 2): Q}, 0.0, dimod.BINARY) will be AND a gate when Q=-1.  
    4
    Comment actions Permalink
  • 2
    Comment actions Permalink
  • The answer to Problem 2 is -1.

    Great answers from Branislav, Yasas, and Jacob. Congratulations to Branislav for being first.

    Check out Problem 3!

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post