# Dual Basis Measurement Based Protocol

This example protocol implements the task of Quantum E-voting. The protocol uses an entangled state with a special property as a blank ballot and is self-tallying i.e. The voters, without the presence of any trusted authority or tallier, need to verify that they share specific quantum states.

## Contents

## Assumptions[edit]

- all classical communication in the protocol takes place using pairwise authenticated channels.

## Outline[edit]

We consider N voters who wish to cast their vote secretly. One of the voters prepares some states in two forms and each voter receives a specific particle of each state. After voters verify that they received correct states by cut and choose technique, they perform certain measurements on their qudits and cast their vote based on the measurement outcome.

In the end, all voters simultaneously broadcast their votes in encoded form and everyone can compute the election result by a simple summation.

## Notations[edit]

- voter
- c: number of possible candidates
- m: dimension of qudits
- : security parameter
- N: number of voters
- : vote of voter
- : set of all possible permutations with N elements
- voter’s blank ballot

## Properties[edit]

- This protocol is not secure. (doesn’t satisfy quantum privacy property.)

We can construct an adversary that violates privacy by an attack on the cut and choose technique of the protocol with a non-negligible advantage in .

## Requirements[edit]

- Quantum memory for each party to store qubits
- Measurement Devices for each party
- Quantum channel capable of sending qubits
- Classical channel to send multiple bits

## Protocol Description[edit]

**Setup phase:**

One of the voters prepares states of the form and states of the form .

Each voter receives kth particle from each of the states.- Voter chooses at random of the states. The other voters measure half of their particles in the computational and half in the Fourier basis.
- if the chosen basis is computational then the measurement results need to add up to 0,
- else: the measurement results are all the same.
All voters simultaneously broadcast their results and if one of them notices a discrepancy, the protocol aborts.

The states are similarly checked.

All voters measure their qudits in the computational basis.

Then each holds a blank ballot of dimension N with the measurement outcomes corresponding to parts of states and a unique index, from the measurement outcome of the qudit that belongs to .

**Casting phase**:

- applies .
- All voters simultaneously broadcast their columns resulting in a public table.

**Tally phase**:

- Each checks that the corresponding row of the matrix adds up to their vote. If this fails, the protocol aborts.
- final outcome of the election is the sum of the elements of each row of the public table

## Further Information[edit]

**contributed by Sara Sarfaraz*