code: def compute_displays(
          self,
          program: Union[circuits.Circuit, schedules.Schedule],
          param_resolver: study.ParamResolver = study.ParamResolver({}),
          qubit_order: ops.QubitOrderOrList = ops.QubitOrder.DEFAULT,
          initial_state: Union[int, np.ndarray] = 0,
      ) -> study.ComputeDisplaysResult:
          
          return self.compute_displays_sweep(
              program, [param_resolver], qubit_order, initial_state)[0]
docs: Computes displays in the supplied Circuit or Schedule.
  
          Args:
              program: The circuit or schedule to simulate.
              param_resolver: Parameters to run with the program.
              qubit_order: Determines the canonical ordering of the qubits used
                  to define the order of amplitudes in the wave function.
              initial_state: If an int, the state is set to the computational
                  basis state corresponding to this state. Otherwise  if this
                  is a np.ndarray it is the full initial state. In this case it
                  must be the correct size, be normalized (an L2 norm of 1), and
                  be safely castable to an appropriate dtype for the simulator.
  
          Returns:
              ComputeDisplaysResult for the simulation.