cirq.google.SycamoreGate

class cirq.google.SycamoreGate[source]

The Sycamore gate is a two-qubit gate equivalent to FSimGate(π/2, π/6).

The unitary of this gate is

[[1, 0, 0, 0],
 [0, 0, -1j, 0],
 [0, -1j, 0, 0],
 [0, 0, 0, exp(- 1j * π/6)]]
This gate can be performed on the Google’s Sycamore chip and
is close to the gates that were used to demonstrate quantum
supremacy used in this paper:
__init__()[source]
Args:
theta: Swap angle on the |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. Maximum strength (full iswap) is at pi/2.
phi: Controlled phase angle, in radians. Determines how much the
|11⟩ state is phased. Note: uses opposite sign convention to
the CZPowGate. Maximum strength (full cz) is at pi/2.

Methods

controlled([num_controls, control_values, …])

Returns a controlled version of this gate. If no arguments are

num_qubits()

The number of qubits this gate acts on.

on(*qubits)

Returns an application of this gate to the given qubits.

qubit_index_to_equivalence_group_key(index)

Returns a key that differs between non-interchangeable qubits.

validate_args(qubits)

Checks if this gate can be applied to the given qubits.

wrap_in_linear_combination([coefficient])