/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/linalg/ |
H A D | predicates_test.py | 20 from cirq.linalg import matrix_commutes 349 assert matrix_commutes(np.array([[1]]), np.array([[2]])) 358 assert matrix_commutes(x, x) 359 assert matrix_commutes(y, y) 360 assert matrix_commutes(z, z) 361 assert not matrix_commutes(x, y) 362 assert not matrix_commutes(x, z) 363 assert not matrix_commutes(y, z) 365 assert matrix_commutes(xx, zz) 376 assert matrix_commutes(x, x + z * 0.1, atol=atol) [all …]
|
H A D | predicates.py | 149 return matrix_commutes(matrix, matrix.T.conj(), rtol=rtol, atol=atol) 167 def matrix_commutes( function
|
H A D | __init__.py | 72 matrix_commutes,
|
H A D | diagonalize.py | 120 if not predicates.matrix_commutes(diagonal_matrix, symmetric_matrix, rtol=rtol, atol=atol):
|
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/linalg/ |
H A D | predicates_test.py | 20 from cirq.linalg import matrix_commutes 349 assert matrix_commutes(np.array([[1]]), np.array([[2]])) 358 assert matrix_commutes(x, x) 359 assert matrix_commutes(y, y) 360 assert matrix_commutes(z, z) 361 assert not matrix_commutes(x, y) 362 assert not matrix_commutes(x, z) 363 assert not matrix_commutes(y, z) 365 assert matrix_commutes(xx, zz) 376 assert matrix_commutes(x, x + z * 0.1, atol=atol) [all …]
|
H A D | predicates.py | 149 return matrix_commutes(matrix, matrix.T.conj(), rtol=rtol, atol=atol) 167 def matrix_commutes( function
|
H A D | __init__.py | 72 matrix_commutes,
|
H A D | diagonalize.py | 120 if not predicates.matrix_commutes(diagonal_matrix, symmetric_matrix, rtol=rtol, atol=atol):
|
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/linalg/ |
H A D | predicates_test.py | 20 from cirq.linalg import matrix_commutes 349 assert matrix_commutes(np.array([[1]]), np.array([[2]])) 358 assert matrix_commutes(x, x) 359 assert matrix_commutes(y, y) 360 assert matrix_commutes(z, z) 361 assert not matrix_commutes(x, y) 362 assert not matrix_commutes(x, z) 363 assert not matrix_commutes(y, z) 365 assert matrix_commutes(xx, zz) 376 assert matrix_commutes(x, x + z * 0.1, atol=atol) [all …]
|
H A D | predicates.py | 149 return matrix_commutes(matrix, matrix.T.conj(), rtol=rtol, atol=atol) 167 def matrix_commutes( function
|
H A D | __init__.py | 72 matrix_commutes,
|
H A D | diagonalize.py | 120 if not predicates.matrix_commutes(diagonal_matrix, symmetric_matrix, rtol=rtol, atol=atol):
|
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/linalg/ |
H A D | predicates_test.py | 20 from cirq.linalg import matrix_commutes 349 assert matrix_commutes(np.array([[1]]), np.array([[2]])) 358 assert matrix_commutes(x, x) 359 assert matrix_commutes(y, y) 360 assert matrix_commutes(z, z) 361 assert not matrix_commutes(x, y) 362 assert not matrix_commutes(x, z) 363 assert not matrix_commutes(y, z) 365 assert matrix_commutes(xx, zz) 376 assert matrix_commutes(x, x + z * 0.1, atol=atol) [all …]
|
H A D | predicates.py | 149 return matrix_commutes(matrix, matrix.T.conj(), rtol=rtol, atol=atol) 167 def matrix_commutes( function
|
H A D | __init__.py | 72 matrix_commutes,
|
H A D | diagonalize.py | 120 if not predicates.matrix_commutes(diagonal_matrix, symmetric_matrix, rtol=rtol, atol=atol):
|
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/linalg/ |
H A D | predicates_test.py | 20 from cirq.linalg import matrix_commutes 349 assert matrix_commutes(np.array([[1]]), np.array([[2]])) 358 assert matrix_commutes(x, x) 359 assert matrix_commutes(y, y) 360 assert matrix_commutes(z, z) 361 assert not matrix_commutes(x, y) 362 assert not matrix_commutes(x, z) 363 assert not matrix_commutes(y, z) 365 assert matrix_commutes(xx, zz) 376 assert matrix_commutes(x, x + z * 0.1, atol=atol) [all …]
|
H A D | predicates.py | 149 return matrix_commutes(matrix, matrix.T.conj(), rtol=rtol, atol=atol) 167 def matrix_commutes( function
|
H A D | __init__.py | 72 matrix_commutes,
|
H A D | diagonalize.py | 120 if not predicates.matrix_commutes(diagonal_matrix, symmetric_matrix, rtol=rtol, atol=atol):
|
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/protocols/ |
H A D | commutes_protocol.py | 185 return linalg.matrix_commutes(v1, v2, atol=atol)
|
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/protocols/ |
H A D | commutes_protocol.py | 185 return linalg.matrix_commutes(v1, v2, atol=atol)
|
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/protocols/ |
H A D | commutes_protocol.py | 185 return linalg.matrix_commutes(v1, v2, atol=atol)
|
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/protocols/ |
H A D | commutes_protocol.py | 185 return linalg.matrix_commutes(v1, v2, atol=atol)
|
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/protocols/ |
H A D | commutes_protocol.py | 185 return linalg.matrix_commutes(v1, v2, atol=atol)
|