Closed sylviemonet closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.64%. Comparing base (
2a093c9
) to head (9d0a5eb
).
@sylviemonet let's work on the docs together when you're back :)
Context: Add the ABC triples to do the representation transform on a single out_ket wire: from_quad and to_quad.
Description of the Change: Two new ABC triples function. It can be used in states, unitaries, and channels directly.
The higher-level functions must recognize which wire will transform and pick the correct triples for different wires. For example, to transform a single-mode mixed state into quadrature, two of these triples will be called, one is for the out_ket wire of the state, and another one is the conjugate of this triple to transform the out_bra wire of the state.
Benefits:
Possible Drawbacks:
Related GitHub Issues: