MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / pauliy_matrix

Function pauliy_matrix

python/tests/operator/op_utils.py:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27
28def pauliy_matrix():
29 mat = np.zeros((2, 2), dtype=np.complex128)
30 mat[0, 1] = -1j
31 mat[1, 0] = 1j
32 return mat
33
34
35def pauliz_matrix():

Callers 5

test_definitionsFunction · 0.85
test_propertiesFunction · 0.85
test_arithmeticsFunction · 0.85
test_product_conversionsFunction · 0.85
test_sum_conversionsFunction · 0.85

Calls

no outgoing calls

Tested by 5

test_definitionsFunction · 0.68
test_propertiesFunction · 0.68
test_arithmeticsFunction · 0.68
test_product_conversionsFunction · 0.68
test_sum_conversionsFunction · 0.68