ReCirq icon indicating copy to clipboard operation
ReCirq copied to clipboard

Add function for 2-qubit tomography

Open manul-pointer opened this issue 4 years ago • 0 comments

two_square_density_matrix() gives the density matrix for any pair of squares.

This requires running 9 variants of the circuit with different gates at the end tweaking the two qubits of interest.

Error correction and noise mitigation are disabled, since the qubits undergoing tomography can't be measured in the computational basis.

The density matrix can be viewed from interactive_board.py with the command, e.g., density f3 f5.


Before merging I'd want to remove some of the duplicated code between the new function and sample_with_ancilla.

manul-pointer avatar Nov 10 '21 17:11 manul-pointer