Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,13 @@ def test_merge_single_qubit_moments_to_phxz_deep():
)


def test_merge_single_qubit_moments_to_phxz_global_phase():
def test_merge_single_qubit_gates_to_phxz_global_phase():
c = cirq.Circuit(cirq.GlobalPhaseGate(1j).on())
c2 = cirq.merge_single_qubit_gates_to_phxz(c)
assert c == c2


def test_merge_single_qubit_moments_to_phased_x_and_z_global_phase():
def test_merge_single_qubit_gates_to_phased_x_and_z_global_phase():
c = cirq.Circuit(cirq.GlobalPhaseGate(1j).on())
c2 = cirq.merge_single_qubit_gates_to_phased_x_and_z(c)
assert c == c2