class_docstr: Tests generic controlled gates
class_docstr_tok: ["Tests","generic","controlled","gates"]
docstr: Test control_values get displayed correctly for nested controlled operations
  when they are provided as a list of bools.
code: def test_nested_control_values_bool(self):
      """Test control_values get displayed correctly for nested controlled operations
      when they are provided as a list of bools."""
  
      with qml.queuing.AnnotatedQueue() as q_tape:
          qml.ctrl(
              qml.ctrl(
                  qml.PauliX(wires=4),
                  control=[2, 3],
                  control_values=[1, 0],
              ),
              control=[0, 1],
              control_values=[1, 0],
          )
  
      tape = QuantumScript.from_queue(q_tape)
      self.check_tape_controlled_qubit_unitary(tape)
  
imports: import pytest
  import pennylane
  from pennylane.drawer import tape_mpl
  from pennylane.tape import QuantumScript
label_desc: Use image node_id 4 for calling the TestControlledGates obj's underlying member method code with example usage: obj.test_nested_control_values_bool() without return types