Home
last modified time | relevance | path

Searched refs:matrix_commutes (Results 1 – 25 of 30) sorted by relevance

12

/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/linalg/
H A Dpredicates_test.py20 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 Dpredicates.py149 return matrix_commutes(matrix, matrix.T.conj(), rtol=rtol, atol=atol)
167 def matrix_commutes( function
H A D__init__.py72 matrix_commutes,
H A Ddiagonalize.py120 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 Dpredicates_test.py20 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 Dpredicates.py149 return matrix_commutes(matrix, matrix.T.conj(), rtol=rtol, atol=atol)
167 def matrix_commutes( function
H A D__init__.py72 matrix_commutes,
H A Ddiagonalize.py120 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 Dpredicates_test.py20 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 Dpredicates.py149 return matrix_commutes(matrix, matrix.T.conj(), rtol=rtol, atol=atol)
167 def matrix_commutes( function
H A D__init__.py72 matrix_commutes,
H A Ddiagonalize.py120 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 Dpredicates_test.py20 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 Dpredicates.py149 return matrix_commutes(matrix, matrix.T.conj(), rtol=rtol, atol=atol)
167 def matrix_commutes( function
H A D__init__.py72 matrix_commutes,
H A Ddiagonalize.py120 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 Dpredicates_test.py20 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 Dpredicates.py149 return matrix_commutes(matrix, matrix.T.conj(), rtol=rtol, atol=atol)
167 def matrix_commutes( function
H A D__init__.py72 matrix_commutes,
H A Ddiagonalize.py120 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 Dcommutes_protocol.py185 return linalg.matrix_commutes(v1, v2, atol=atol)
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/protocols/
H A Dcommutes_protocol.py185 return linalg.matrix_commutes(v1, v2, atol=atol)
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/protocols/
H A Dcommutes_protocol.py185 return linalg.matrix_commutes(v1, v2, atol=atol)
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/protocols/
H A Dcommutes_protocol.py185 return linalg.matrix_commutes(v1, v2, atol=atol)
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/protocols/
H A Dcommutes_protocol.py185 return linalg.matrix_commutes(v1, v2, atol=atol)

12