News for hackers. Stuff that matters.

inurqubits

Re:VSCode's SSH agent is bananas on Saturday February 08, 2025 @03:28AM (#42981436)
Yes, 20 years ago. Let go.
Re:Kill the "User": Musings of a disillusioned technologist on Friday February 07, 2025 @11:52AM (#42974795)
Photoshop used a custom UI toolkit which automatically generated the dialogs layout based on a description of their contents (string field, boolean, color picker, ...)
Re:Show HN: Play with real quantum physics in your browser on Friday February 07, 2025 @11:48AM (#42974748)
Do you by any chance have a friend named Wigner?
Re:Show HN: Play with real quantum physics in your browser on Friday February 07, 2025 @11:43AM (#42974688)
It's not true that computer randomness is predictable, all recent computers have entropy sources which are essentially quantum in nature - thermal noise.
Re:Show HN: Play with real quantum physics in your browser on Friday February 07, 2025 @11:40AM (#42974649)
They already exist

    import numpy as np
    from qiskit import QuantumCircuit

    # 1. A quantum circuit for preparing the quantum state |000> + i |111> / √2
    qc = QuantumCircuit(3)
    # generate superposition
    qc.h(0)  
    # add quantum phase   
    qc.p(np.pi / 2, 0)  
    # 0th-qubit-Controlled-NOT gate on 1st qubit
    qc.cx(0, 1)   
    # 0th-qubit-Controlled-NOT gate on 2nd qubit 
    qc.cx(0, 2)