tensorcircuit icon indicating copy to clipboard operation
tensorcircuit copied to clipboard

Add circuit block to generate quantum supremacy random circuit

Open refraction-ray opened this issue 1 year ago • 3 comments

Task description

Add tc.templates.blocks.random_circuit to generate random circuit for demonstrating quantum supremacy, the circuit structure can be found from Google's paper: https://www.nature.com/articles/s41586-019-1666-5

Implementation

Add a function random_circuit in /tensorcircuit/templates/blocks.py which generate the corresponding circuit with given spec (1D/2D, entangling gate type, depth, qubit number, etc.)

Requirements

Difficulty: ★★

refraction-ray avatar Jul 12 '22 03:07 refraction-ray

Is this the task for Tencent Spark Project?

SexyCarrots avatar Jul 13 '22 00:07 SexyCarrots

Is this the task for Tencent Spark Project?

It can be if the students are too smart and the problems set is not enough for them. But in general, everyone from open source community is welcome to contribute to these tasks. These tasks are just features we'd like to see in future tensorcircuit.

refraction-ray avatar Jul 13 '22 01:07 refraction-ray

Great. You are really building the community.

SexyCarrots avatar Jul 13 '22 18:07 SexyCarrots

currently we have an alternative that using tc.Circuit.from_qsim() to load google random circuit structure

refraction-ray avatar Oct 26 '22 03:10 refraction-ray