• Breaking News

    Tuesday, June 11, 2019

    This robot helps you lift objects — by looking at your biceps (MIT) Computer Science

    This robot helps you lift objects — by looking at your biceps (MIT) Computer Science


    This robot helps you lift objects — by looking at your biceps (MIT)

    Posted: 10 Jun 2019 12:37 PM PDT

    turing machine help

    Posted: 11 Jun 2019 01:17 AM PDT

    QCircuits 0.4.2, a quantum computing simulator Python library

    Posted: 10 Jun 2019 12:57 PM PDT

    Hi all, I am the developer of QCircuits, a Python library for simulating quantum circuits.

    My aim was to create a library with all the functionality I required to implement the quantum algorithms from the Nielsen & Chuang textbook, with as simple an interface as possible.

    You can install with pip install qcircuits for Python 3.4+, and it should be OS agnostic.

    Documentation is available at http://www.awebb.info/qcircuits/index.html.

    Tutorial is at http://www.awebb.info/qcircuits/tutorial.html

    Example applications, including quantum teleportation, superdense coding, phase estimation, and Grover's algorithm are at http://www.awebb.info/qcircuits/examples.html

    The code is on github here: https://github.com/grey-area/qcircuits

    With the library, you can:

    • Create states from tensor or Kronecker (vector) representations, or prepare commonly used states such as computational basis states, uniform superposition states, Bell states, etc. See here for a full list.
    • Create gates/operators from tensor or Kronecker (matrix) representations, or create common operators such as the Hadamard gate, Pauli gates, CNOT, Swap, Toffoli, etc. See here for a full list.
    • Create composite states/operators via tensor product of states/operators of subsystems.
    • Compose operators, e.g., A(B(x)) = (A(B))(x)
    • Apply an m-qubit operator to a specified subsystem of an n-qubit state, where m < n.
    • Perform measurement in the computational basis on a subset of a state's qubits.
    • Compute the Schmidt number of a system with respect to two subsystems.

    I developed the library in order to consolidate my understanding of the material in the Nielsen & Chuang book, and once it was developed I found I was often using the library to test my understanding of some concept or example from the book. I'm hoping that others might find it useful too.

    Constructive criticism, feedback, and feature requests are of course welcome.

    submitted by /u/grey--area
    [link] [comments]

    Can Kotlin be used to develop for iOS/Android at once?

    Posted: 10 Jun 2019 08:46 PM PDT

    Moreover, is it better than React native?

    submitted by /u/ssadman000
    [link] [comments]

    What are the best computer security universities?

    Posted: 10 Jun 2019 02:38 PM PDT

    Question regarding COW and how wrie permissions are lost.

    Posted: 10 Jun 2019 02:07 PM PDT

    Hello, I am giving an exam on Operating Systems this week and there is a type of exercise that asks you to create the physical Memory Table, the Page Table and the Memory Map for each process running the given code. code image here We are given that we can make the assumption that lines 30-34 are executed before the command at line 21. My question is this: When the parent process calls the fork() function, the child that is created created a replica of the father's Page Table and Memory Map. But (according to the official solutions) both the child and the parent due to Copy On Write protection that is used they lose Write permissions. I cannot understand why copy on write does this. My second question is about line 21. We are given by the exercise that before the execution of the program, there are 2 librarys libbar (responsible for the bar() function) and libfoo (responsible for the foo() function).Lib bar is dynamically linked to the 2 programs and lib foo is static linked. So about the second question( again from the official solutions) when parent is about to execute line 21 he gets write permissions again because the bar library was already loaded. Why is that?

    Thank you in advamce for taking the time to read this! Feel free to ask if you need extra info!!

    Edit Title: write***

    P.S. The exercise gives a ton of info which I think are irrelevant to my questions but here they are: The os supports virtual memory with on demand paging and follows the model fork()/exec() with Copy-On-Write for creating new processes. Memory's page size is 4096 bytes And the Physical Memory has 11 pages.

    submitted by /u/Ntdark
    [link] [comments]

    BatchNorm + Dropout = DNN Success!

    Posted: 10 Jun 2019 08:12 AM PDT

    No comments:

    Post a Comment