'Plot the controlled gate. If *simplify_cgate* is true, simplify
C-X and C-Z gates into their more familiar forms.'

def plot_gate(self, circ_plot, gate_idx):

    min_wire = int(_min(chain(self.controls, self.targets)))
    max_wire = int(_max(chain(self.controls, self.targets)))
    circ_plot.control_line(gate_idx, min_wire, max_wire)
    for c in self.controls:
        circ_plot.control_point(gate_idx, int(c))
    if self.simplify_cgate:
        if (self.gate.gate_name == u'X'):
            self.gate.plot_gate_plus(circ_plot, gate_idx)
        elif (self.gate.gate_name == u'Z'):
            circ_plot.control_point(gate_idx, self.targets[0])
        else:
            self.gate.plot_gate(circ_plot, gate_idx)
    else:
        self.gate.plot_gate(circ_plot, gate_idx)
