include test
This commit is contained in:
parent
8e4996a101
commit
402ac81f2a
@ -726,6 +726,8 @@ def test():
|
|||||||
|
|
||||||
assert _0 | _1 == (_1 | _0).complex_conjugate() # non-commutative inner product
|
assert _0 | _1 == (_1 | _0).complex_conjugate() # non-commutative inner product
|
||||||
|
|
||||||
|
test_to_from_angles()
|
||||||
|
|
||||||
# II: Dynamics | The evolution of a closed system is described by a unitary transformation
|
# II: Dynamics | The evolution of a closed system is described by a unitary transformation
|
||||||
#
|
#
|
||||||
# Operators turn one vector into another
|
# Operators turn one vector into another
|
||||||
@ -1085,6 +1087,4 @@ def test_quantum_processor():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
test()
|
test()
|
||||||
# pp(_p.get_bloch_coordinates())
|
|
||||||
# test_to_from_angles()
|
|
||||||
# test_quantum_processor()
|
# test_quantum_processor()
|
||||||
|
Loading…
Reference in New Issue
Block a user