Skip to content

Latest commit

 

History

History

dense

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

dense

Problem

CSAW goes superdense for once

message.txt

Solution

The contents of message.txt seem to be related to quantum computation, judging by the reference to "entagled pairs".

The only hint we are given is the word "superdense". Googling that leads to the Wikipedia article on Superdense coding:

Superdense coding Wikipedia article screenshot

Since message.txt seems to describe the transmission of a message using this protocol, we can look at the Preparation and Encoding sections of the Wikipedia article in order to understand what was done in order to encode the message.

The Preparation section on Wikipedia states that the protocol starts with the preparation of an entangled state, which is shared between the 2 parties. An example of such an entangled state is given. Interestingly enough, the example on Wikipedia is exactly the same as the entangled pair given in message.txt:

Initial entangled state

The Encoding section describes how a quantum gate, represented as a matrix, is applied to the qubit the sender wants to transmit. Luckily for us, we don't need to know how the math works, since the Wikipedia article shows the resultant entangled state for transmitting every one of the possible 2-bit strings (00, 01, 10, 11), using the same initial entangled state as the one we have in message.txt. Therefore, all we have to do is go through the list of entangled states in message.txt, compare them with the ones in the Wikipedia example, and identify whether they represent 00, 01, 10 or 11. We then convert the final sequence of bits to ASCII.

Python script