From 31e2c471616230ae3c85ad737bac0b3a242af320 Mon Sep 17 00:00:00 2001 From: madcpf Date: Wed, 31 Jul 2024 14:22:04 -0700 Subject: [PATCH] Update README.md --- examples/quantum_chinese_chess/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/quantum_chinese_chess/README.md b/examples/quantum_chinese_chess/README.md index 711049a4..7ba33a51 100644 --- a/examples/quantum_chinese_chess/README.md +++ b/examples/quantum_chinese_chess/README.md @@ -92,13 +92,16 @@ But instead of being a superposition of four states (i.e. white horse and cannon , i.e. either the horse was in `a7` and the cannon successfully moved ot `e7`, or the horse is in `c7` and the cannon did not move at all. This is an example of [quantum entanglement](https://en.wikipedia.org/wiki/Quantum_entanglement). ### Measurement -Given the following scenario, where we have splitted red rook, white horse and white cannon. +Given the following scenario, where there are splitted red rook, white horse and white cannon. Screenshot 2024-07-31 at 1 14 49 PM -And the white player would like to make the move `e7e3` to capture the red horse. In this case we will make a [measurement](https://en.wikipedia.org/wiki/Measurement_in_quantum_mechanics) to check if there is exactly one `cannon platform` between the cannon and the target. Depennding on the measurement result, you should see one of the two scenarios (with equal probability): +And the white player would like to make the move `e7e3` to capture the red horse. In this case we will make a [measurement](https://en.wikipedia.org/wiki/Measurement_in_quantum_mechanics) to check if there is exactly one `cannon platform` between the cannon and the target. Depending on the measurement result, you should see one of the two scenarios (with equal probability): Screenshot 2024-07-31 at 1 16 29 PM Screenshot 2024-07-31 at 1 15 56 PM -In the left case, In the right case. But in both cases, note that other superposition pieces (red rook and white horse) are not affected, i.e. the whole board is still in a superposition state. +In the left case, the `platform` is not there, so the capture is not made [1]. +In the right case, the `platform` is there, and the capture is made. But in both cases, note that other superposition pieces (red rook and white horse) are not affected, i.e. the whole board is still in a superposition state. + +[1] Note that in such cannon firing scenarios the player might want to have a `laser cannon`, i.e. to capture the red elephant instead, with the red horse as platform. This has not been implemented. Feel free to submit such pull requests!