Skip to content

Commit a762004

Browse files
committed
Added more details in class docstring
1 parent 5e4eb70 commit a762004

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cirq-google/cirq_google/transformers/target_gatesets/google_cz_gateset.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717

1818

1919
class GoogleCZTargetGateset(cirq.CZTargetGateset):
20-
"""CZTargetGateset implementation tailored to Google devices."""
20+
"""`cirq.CZTargetGateset` implementation tailored to Google devices.
21+
22+
In addition to features available from `cirq.CZTargetGateset`, `GoogleCZTargetGateset` contains
23+
a flag, `eject_paulis`, to enable the postprocess transformers `cirq.eject_phased_paulis` and
24+
`cirq.eject_z`, which will push X, Y, Z, PhasedX, and certain PhasedXZ gates to the end of the
25+
circuit.
26+
"""
2127

2228
def __init__(
2329
self,

0 commit comments

Comments
 (0)