# Secure Multiparty Delegated Classical Computation

This example protocol provides a method for computing nonlinear functions involving multiple variables using only linear classical computing and limited manipulation of quantum information. To demonstrate this protocol, the pairwise AND function is computed and can be used as a building block for other functions.

**Tags:** Multi Party Protocols, Quantum Enhanced Classical Functionality, Universal Task

## Contents

## Assumptions[edit]

- The clients have limited computational capabilities, namely access to linear XOR functionalities.

## Outline[edit]

### Main Routine[edit]

The server sends an ancilla bit to the first client. The first client performs the rotation along -axis according to his input bit and rotation according to his random bit for security. He then sends the qubit to the next client who performs the same rotation according to his bits. This process is followed until all clients have performed their operations. Now, one of the clients performs the conjugate transpose of the rotation on the qubit based on the global XOR of all the inputs which he gets by the XOR routine. The state now prepared is the value of the function XORed with the XOR of the random bits of all clients. The clients now announce the random bits with the help of which the final result is calculated.

### XOR Routine[edit]

The clients choose random bits whose XOR is their input bit and send each such random bit to each client. The clients now perform the XOR of the received bits. To calculate the global XOR, the send their results to the designated client who then performs the XOR of all the received bits to get the global XOR.

## Notation[edit]

- : Client with index .
- : Input bit of client.
- : Random bit of client.
- : Rotation around -axis in Bloch sphere by angle .
- : Operator for performing rotation around -axis in Bloch Sphere.
- : Operator for performing rotation around -axis in Bloch Sphere.

## Requirements[edit]

- Basic state preparation and measurement devices.
- Access to secure classical channels.

## Properties[edit]

- The input of each client remains hidden from the other clients and from the server.
- The server performs the computation without learning anything about the result.
- As long as at least two clients are honest, it is enough to guarantee the secrecy of the independent inputs.

## Protocol Description[edit]

To compute ,

### Main Routine[edit]

- The server generates an ancilla bit and sends it to client .
- For to :
- applies on the received qubit and sends it to client .

- applies on the received qubit.
- Any client then applies .

- The resulting state is now sent to the server who measures the outcome and announces it.
- The clients locally compute XOR of the random bits of other clients.
- They then perform the operation to get the result.

### XOR Routine[edit]

- For
- Each client chooses random bits , such that and and sends and to client .
- Each client then computes and .

- To perform the operation , the clients send to the designated client, who computes the global XOR.

- When server announces , all clients broadcast to calculate and know the value of .

## Further Information[edit]

**contributed by Natansh Mathur*