rht

Results 789 comments of rht

@bgupt ah you are right, I didn't notice. But it is already the case that 1. In the cached notebook output of https://github.com/jpmorganchase/QOKit/blob/main/examples/QAOA_LABS_optimization.ipynb, the `beta` column has negative values 2....

1. In the paper, figure 1C shows `Rx(beta)`. 2. In the code, ```python def append_x_term(qc: QuantumCircuit, q1: int, beta: float) -> None: qc.rx(2 * beta, q1) ``` They look the...

OK thank you. Also, I looked into the code referenced in the paper, https://zenodo.org/records/10935811, `beta` is already negative here.

Update: if the objective function is set to "expectation" instead of "overlap" (the example code QAOA_LABS_optimization.ipynb uses "overlap"), I got a smooth curve even more closely resembling fig 3B. ![Image](https://github.com/user-attachments/assets/c83373be-debb-41a8-9d46-c870ad812f1c)

React.js has [create-react-app](https://github.com/facebook/create-react-app) (but this is a separate npm package, not part of React). There is value in auto-creating the boilerplate files than to copy paste manually from an instruction.

> I see more value in people learning how to do this stuff themselves and knowing how stuff is organized. This is happening even when the boilerplate creation is automated....

> > The learner will have to understand the auto-created files in order to extend them. > Sometimes (often) doing has higher retention then reading. I am aware of several...

SGTM. Additionally if you could also get their feedback on it.

From https://github.com/projectmesa/mesa/pull/2317#discussion_r1770559352 > If `__getitem__` becomes `def __getitem__(self, unique_id): return self._agents[unique_id]` as the default, it would simplify the documentation here. > > I also just note that I object fundamentally...

> But, likewise, I still fail to see a use case for doing agent lookups based on unique_id that are not currently already covered by select. It's covered by `select`,...