Closed hongyehu closed 1 month ago
I am new on Pyclliford, could u assigne this issue to me?
@QuantumAsma Great! This issue is assigned to you. If you need any help on Pyclifford, please let us know. We will provide as much support as we could. Thanks
@hongyehu could you provide some references please?
Implement mixed state quantum evolution, measurement, and expectation values. In the current implementation, the stabilizer state class has an attribute
stabilizer_state.r
which labels how many stabilizer generators are used to describe the state. For example, for aN
qubit stabilizer state, in thegs
matrix, the firstN
rows denote the stabilizer generators in binary vectors, and the secondN
rows denote the destabilizer generators in binary vectors. And the stabilizer generators used are fromstabilizer_state.r
toN
, while destabilizer generators used are fromstabilizer_state.r+N
to2N
.Therefore, if
stabilizer_state.r=0
, the state is fully stabilized by the firstN
generators, and the state is pure. And one need to change the evolution, measurement, calculation of expectation functions accordingly to general0<stabilizer_state.r<=N
for the mixed states.