iopscuba.blogg.se

Wideband with binary editor
Wideband with binary editor












wideband with binary editor

The contents of the binary register can be written to the results file at any location in your algorithm using the display_binary instruction. Here we have just created a classical correlation between the two qubit states. The measurement result of qubit 3 is shown as the third bit from the right.Ī small note here: Although this may look like the two qubits are entangled, just like in a Bell state this is not the case. In practice, this means that the measurement result of qubit 0 is shown as the right-most bit. The measurement register is displayed as a binary string, following the convention that the least significant bit is the rightmost bit and the most significant bit is the leftmost bit. The leftmost bit is for the qubit with the highest index. When shown in histograms, the rightmost bit is for the measured qubit with the lowest index (q). So, q corresponds to qubit 0 and b corresponds to the measurement outcome of measurements on q. The index used for addressing the qubit register and the binary register are identical. The binary register is often referred to as the measurement register.Īll entries in the binary register are initialized to zero.Įntries in the binary register can be used to control your quantum algorithm e.g. The binary register is used to store the outcomes of qubit measurements, the so-called declared states. As an example: qubits 5 creates a qubit register for 5 qubits PLUS a binary register with 5 entries.

wideband with binary editor

When you create a qubit register with the qubits instruction a binary register is created with the same number of entries as the qubit register.














Wideband with binary editor