Better HN
topnewbestaskshowjobs
Log inSign up

inurqubits

10 karma · joined Feb 7, 2025 (1y ago) · 6 submissions

Submissions

comment 1y ago · link · parent

Yes, 20 years ago. Let go.

comment 1y ago · link · parent

Photoshop used a custom UI toolkit which automatically generated the dialogs layout based on a description of their contents (string field, boolean, color picker, ...)

comment 1y ago · link · parent

Do you by any chance have a friend named Wigner?

comment 1y ago · link · parent

It's not true that computer randomness is predictable, all recent computers have entropy sources which are essentially quantum in nature - thermal noise.

comment 1y ago · link · parent

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)