Closed benjaminvillalonga closed 5 years ago
w_1_2 being hz_1_2
Is the line fsim(0.48112498558227507, 0.15642764309600338)
equivalent to the cirq fsim gate where the floats are radians theta, phi and (from documentation of Cirq)
theta: Swap angle on the span(|01⟩, |10⟩) subspace, in radians.
Determined by the strength and duration of the XX+YY
interaction. Note: uses opposite sign convention to the
iSWAP gate.
phi: Controlled phase angle, in radians. Determines how much the
|11⟩ state is phased. Note: uses opposite sign convention to
the CZPowGate.
Another two questions:
If this and the above comment make sense, I could try and include fsim and rz
I see, this means W isops.PhasedXPowGate(phase_exponent=0.25, exponent=0.5)
where
phase_exponent: The exponent on the Z gates conjugating the X gate.
exponent: The exponent on the X gate conjugated by Zs.
Please correct me if I am wrong.
See #155 for continued discussion. Implementation will happen there.
This PR was solved in #155
Correctly implement reading and loading fsim, rz, and w_1_2 gates.