From 94f9d2d549d52661c80ec93be3ac72e2c12302a4 Mon Sep 17 00:00:00 2001 From: madcpf Date: Sun, 29 Oct 2023 20:28:48 -0700 Subject: [PATCH] update --- unitary/examples/quantum_chinese_chess/move_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unitary/examples/quantum_chinese_chess/move_test.py b/unitary/examples/quantum_chinese_chess/move_test.py index bae33b23..4ff04457 100644 --- a/unitary/examples/quantum_chinese_chess/move_test.py +++ b/unitary/examples/quantum_chinese_chess/move_test.py @@ -252,6 +252,10 @@ def test_jump_excluded_quantum_source_and_target(): def test_jump_basic(): + # Source is in quantum state. + board = set_board(["a1"]) + world = board.board + alpha.PhasedSplit()(world["a1"], world["a2"], world["a3"]) Jump(MoveVariant.BASIC)(world["a2"], world["d1"]) board_probabilities = get_board_probability_distribution(board, 1000) assert len(board_probabilities) == 2