Home
last modified time | relevance | path

Searched refs:is_clifford_rotation (Results 1 – 5 of 5) sorted by relevance

/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/optimizers/
H A Ddecompositions.py54 def is_clifford_rotation(half_turns): function
61 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) % 2 == 1
64 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) == 2
67 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) == 0
77 if is_clifford_rotation(z_ht_before):
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/optimizers/
H A Ddecompositions.py54 def is_clifford_rotation(half_turns): function
61 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) % 2 == 1
64 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) == 2
67 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) == 0
77 if is_clifford_rotation(z_ht_before):
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/optimizers/
H A Ddecompositions.py54 def is_clifford_rotation(half_turns): function
61 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) % 2 == 1
64 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) == 2
67 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) == 0
77 if is_clifford_rotation(z_ht_before):
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/optimizers/
H A Ddecompositions.py54 def is_clifford_rotation(half_turns): function
61 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) % 2 == 1
64 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) == 2
67 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) == 0
77 if is_clifford_rotation(z_ht_before):
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/optimizers/
H A Ddecompositions.py54 def is_clifford_rotation(half_turns): function
61 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) % 2 == 1
64 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) == 2
67 return is_clifford_rotation(half_turns) and to_quarter_turns(half_turns) == 0
77 if is_clifford_rotation(z_ht_before):