Skip to the content.

Quantum Chess

Quantum Chess is a variant of the chess game, which uses properties of quantum physics. It uses all of the same pieces, in the same starting positions, as classical chess.
Quantum Chess allows (almost) all pieces to exist in superposition, where they can occupy more than one square at a time. This is shown by a bar indicating the probability that the piece will be found in a given square by a measurement.

Content

1. Installation Guide

Go to the latest release, and download the .deb file.
Afterwards, open de file normally and click install or use the following command.

sudo apt install ./{filename}.deb

2. How to Play

2.1. Connect to a Game

The first thing you will see upon opening the game is a screen asking for your username.

Screenshot from 2021-12-14 04-22-13

The next thing you want to do is to connect to a room, and you can do that by typing the ID of the room in the login screen and selecting how you want to join.
You can choose between using the white pieces, the black pieces, or being a spectator. If there are no rooms with the typed ID, one will be created for you.

Screenshot from 2021-12-14 04-22-24

2.2. Play

There are three types of moves: normal, split and merge.
To swap between move modes, you can press:

Normal is the default type.
You can see which mode you are currently in, by looking at the color of the asterisk placed in the top-right corner of the screen.

Normal Move

The Normal Move is a classic move of a piece, just like in a normal chess game.
The pieces follow all of the same movement patterns as those in standard chess, including moves like castling and en passant. However, there is no concept of check, so the king can move into, or castle through, what would be considered check in classical chess.

Click on a piece, the piece will be selected, and then click on the destination.

Screenshot from 2021-12-13 02-00-07

Split Move

All non-pawns can perform a split move. This move allows the piece to split and occupy two different target squares that it can reach.
Only squares that are unoccupied are considered legal targets.

Press s and click on a piece (the piece will be selected). Then click on two empty squares.

Screenshot from 2021-12-13 02-00-33

Merge Move

All non-pawns can perform a merge move. This move is designed to undo a split move, therefore two splits of the same piece merge together in a valid square that both splits can reach.
Only squares that are unoccupied, or are occupied by one of the splits being merged are considered legal targets.

Press m and click on a piece (the piece will be selected). Now click on a second piece, and finally on the destination of the merge.

Screenshot from 2021-12-13 02-01-03

Entanglements

When a classic piece ‘passes through’ a split of another piece which has no entanglements, a new entanglement is created. A split of the moving piece will be performed. One part of the split will go to the target square, and the other part will stay in the parting square. Only one entanglement per piece is permitted. When the fate of a piece is decided, so does the fate of its entanglements.

Screenshot from 2021-12-13 01-53-12

Screenshot from 2021-12-13 01-53-30

Measurements

Any time a move targets a square that is occupied by another piece, the game will perform a measurement. This means it will look at certain squares on the board to determine if they are occupied or empty; and this will decide the final destination of every of the measured pieces and its entanglements. Measurements are designed to answer a specific yes or no question. If the answer is yes, the move is then performed. If the answer is no, no further action is taken, and play passes to the next player.

In the following images, you can see an example where black tries to eat a white bishop, but the result of measurement is that the bishop is not located in that square.
As a consequence of that measurement, the white queen is also repositioned, as it was entangled with the white bishop.

Screenshot from 2021-12-13 01-54-05

Screenshot from 2021-12-13 01-54-21

Winning

The game is won by capturing your opponent’s king. This means your opponent has no king left anywhere on the board. It is possible for any piece, king included, to exist in a superposition of being captured and not captured. The game will continue until you can say, with certainty, that one player has no king.

Exit

You can exit the game at any time by pressing ‘Q’ or ESC.

2.3. Notation

The general disposition of the notation is inspired by chess PGN.

In QuantumChess in particular, the notation of each individual move consists of four parts.

The first part consists of a character to indicate the type of move:

The second part indicates the parting and destination squares of the move.

Finally, if one or more measurements were performed during the move, the results will be indicated in order at the beginning of the notation.

Example Notation:

1. Ne2e4 Ne7e5
2. Sg1f3h3 Sd8h4g5
3. Nd1h5 Sg5f4e3
4. Sf1c4d3 *#Nh4h3
5. #Nc4f7 Nh3g2
6. Sh1f1g1 *Ng2f1
7. Nf3e5 Nf1e1

In black`s move number four, a normal moved was performed from square h4 to square h3. As a consequence, two measurements were performed, the first resulting in a confirmation and the second in a denial. With this information the game can be replicated in its entirety.

At the end of each game, a dump will be available to download. The dump will be downloaded under the path /home/{USER}/Documents/QuantumChess/ in several files that will not replace each other, generating a new file automatically for each game.

Screenshot from 2021-12-14 04-05-11

Screenshot from 2021-12-14 04-08-56

3. Settings

At any time, you can click on the gear in the top-right corner to change the screen settings.
Then click on the desired resolution.

Screenshot from 2021-12-14 04-32-35