Created
January 11, 2019 16:06
-
-
Save nelimee/a86c603d9d0c93f546a1108e72cb007d to your computer and use it in GitHub Desktop.
Matrix raising an exception in qiskit.mapper._compiling.two_qubit_kak
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy | |
from qiskit.mapper._compiling import two_qubit_kak | |
A = numpy.array([[15, 9, 5, -3], [9, 15, 3, -5], [5, 3, 15, -9], [-3, -5, -9, 15]], dtype=numpy.complex) / 4 | |
two_qubit_kak(A) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment