Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
28
def
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
35
def
pauliz_matrix():
Callers
5
test_definitions
Function · 0.85
test_properties
Function · 0.85
test_arithmetics
Function · 0.85
test_product_conversions
Function · 0.85
test_sum_conversions
Function · 0.85
Calls
no outgoing calls
Tested by
5
test_definitions
Function · 0.68
test_properties
Function · 0.68
test_arithmetics
Function · 0.68
test_product_conversions
Function · 0.68
test_sum_conversions
Function · 0.68