部分测量(破坏性)崩溃| 1>到| 0>

时间:2014-07-02 19:56:31

标签: quantum-computing qscript qcplayground

我有following QScript program

VectorSize 6

// The system can be in only one state - |000001>
SigmaX 0

// Non-destructive full measurement returns 1, as expected
Measure
Print measured_value

// Destructive measurement collapses the last qubit to |0>?
MeasureBit 0

Measure
Print measured_value

为什么最后一个量子比特实际上|0>会崩溃到|1>?这是模拟器中的错误还是我误解了部分破坏性测量应该如何工作?在about page中,他们给出了一个示例,其中量子比特折叠为|1>,因此它应该是可能的......

1 个答案:

答案 0 :(得分:-1)

cross-post on physics stackexchange中回答的问题,显然这确实是模拟器中的一个错误。