You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import numpy as np
from qiskit_qec.linear.symplectic import _symplectic_product_vv_boolean
a = np.array([1,0,0,0,1,1,1,0,1,0], dtype=np.bool_)
b = np.array([1,1,1,1,0,0,1,0,1,1], dtype=np.bool_)
_symplectic_product_vv_boolean(a, b, 5)
What is the current behavior?
Returns 1
What is the expected behavior?
The function should return 0, which is the actual symplectic product of the two vectors.
This example is actually the example in the docstring.
Note: Within qiskit_qec this function is never used, as in symplectic_product the input arrays are always converted to dtype numpy.int8.
The text was updated successfully, but these errors were encountered:
* Updated location of QuantumErrorChannel in aer
* linting and Updates for qc.data accesses
* Updated requirements-dev.txt wrt black
* linter change
* Fix for issue #431
* Linting
* Adjusting one int type to long int + corrected doc
Steps to reproduce the problem
What is the current behavior?
Returns
1
What is the expected behavior?
The function should return
0
, which is the actual symplectic product of the two vectors.This example is actually the example in the docstring.
Note: Within qiskit_qec this function is never used, as in
symplectic_product
the input arrays are always converted to dtype numpy.int8.The text was updated successfully, but these errors were encountered: