News for hackers. Stuff that matters.

adamisntdead

Re:A tutorial quantum interpreter in 150 lines of Lisp on Sunday July 16, 2023 @03:50PM (#36750772)
I guess back when I wrote it I didn't see the need given that single qubit gates along with CNOT are universal and they're implemented. I think airing on the side of 'as few features as is educational' was my mentality on this.
Re:A tutorial quantum interpreter in 150 lines of Lisp on Sunday July 16, 2023 @02:51PM (#36750250)
I wrote something similar a couple of years ago - https://github.com/adamisntdead/QuSimPy

Happy to answer any questions people have, including on other simulation methods other than state vector!

I'm currently a mathematics undergraduate at Cambridge and there's quite a few students who live type notes in various different formats. I think that the majority of the learning curve comes when getting used to the format of writing in LaTeX, and once you have that down (so that typing both prose and mathematics takes little to no effort) you can type notes faster than you can write them - with the small exception of maybe matrices and certain advanced things which slow you down.

The benefit of having typed notes at least for me come from being able to search, having a good record of my own understanding of a course and also not having to rely on keeping handwritten notes safe. They also look pretty which is a bonus for studying from them.

Examples:

- Analysis I (which have been edited): https://adamkelly.me/files/ia-analysis-i/analysis-i.pdf

- Graph Theory (not edited but diagrams added): https://adamkelly.me/files/ii-graph-theory/graph-theory.pdf

As a side note, one other thing I do is write short 'handouts' on topics that I think I have something to say about. For example https://adamkelly.me/files/handouts/direct-products/direct-p....

Re:A layman’s guide to recreational mathematics videos on Wednesday September 01, 2021 @03:27AM (#28377242)
If we're talking about Fun maths, there's a couple of really good channels that look at Olympiad problems.

- vEnhance (https://www.youtube.com/c/vEnhance), an MIT student and IMO Gold Medalist who solved problems live on stream (and plays various games)

- Osman Nal (https://www.youtube.com/c/OsmanNal), looking at problems ranging from AMC/AIME to IMO 3/6s

- Michael Greenberg (https://www.youtube.com/channel/UC3mhbGC7kQgzkXT9fceNOwA), a geometry enthusiast who also live solves problems, though the production quality isn't amazing

And of course, Michael Penn (but that's in the post above)!

Re:A layman’s guide to recreational mathematics videos on Wednesday September 01, 2021 @03:22AM (#28377215)
I'm a big fan of this video from Reducible on Huffman codes: https://www.youtube.com/watch?v=B3y0RsVCyrw, and from 3Blue1Brown on Hamming codes: https://www.youtube.com/watch?v=X8jsijhllIA
Re:How we built the Evervault Encryption Engine (E3) on Tuesday August 10, 2021 @10:43AM (#28129466)
I'm surprised that something like point compression can even be patented, considering that it's relatively straightforward mathematically (all of the difficulty seems to lie in the number theory to compute a solution, which I assume wasn't invented by whoever owned the patent)...
Re:Eliud Kipchoge Breaks Two-Hour Marathon Barrier on Saturday October 12, 2019 @04:43PM (#21236097)
Because the pacemakers rotated, they weren't the same all of the way through.
Re:Making of Byrne’s Euclid on Tuesday December 18, 2018 @03:16AM (#18705211)
That article had a really nice depth to it, answered all of my questions that I had yesterday when I first saw the project.
Well if you get assigned bad seats you might not come back, for this sort of thing I would say happy customers would lead back into more money
I have been thinking about this sort of thing quite a lot - while I do think it's wrong to split people up on a plane, it is quite an interesting concept.

A similar but less malicious case would be one of organising the seating on a train or in a cinema, but rather then biasing against families, biasing against other, unrelated groups.

For example - in a cinema, you usually do not wish to sit right beside another group when the rest of the seats are free. Still, you don't want to be that far from the center.

How do you design an algorithm for this? How will it scale? How can you make the most number of groups happy with their seats? How do you avoid having individual seats that nobody wants?

Re:Getting Started with Quantum Computing in Python on Sunday July 22, 2018 @11:30AM (#17587206)
Quantum computing won't require much extra power that python can't provide, the only heavy processing will be circuit generation which is (as far as we can see at the moment) fine to use python for.

In the sort term though there's a big place for languages like C, C++ and Rust for things like simulations which need to be done

Re:Deprecation of OpenGL and OpenCL on Monday June 04, 2018 @04:23PM (#17232001)
As someone who read this with an editor full of OpenCL kernels, I think apple must really have missed the point of these sort of frameworks - heterogeneous computing.

If I wanted the best possible speed, latest features ect. I would write multiple back ends in things like CUDA.

I choose OpenCL because I can develop code on my Macbook pro, and run that on a computer with a discrete GPU on a different operating system, and have a fair amount of confidence that it would work.

:/

Me too, and they say it will be over $500 to fix as they need a whole new casing
Love the idea - what API are you using for summarization?
Re:The Theory of Quantum Information on Saturday April 28, 2018 @03:16PM (#16949042)
I am always impressed by the amount of content posted about Quantum Computing on hn. As a subject I find really interesting, it's really encouraging to see other people with the same interest, even if it is just casual!
Re:The Theory of Quantum Information on Saturday April 28, 2018 @03:15PM (#16949037)
I also read those notes, and to a large extent they were my first introduction to the field of quantum computing after studying some quantum mechanics
Re:A GPU-Accelerated Quantum Computer Simulator on Friday April 27, 2018 @06:20PM (#16944910)
I wrote a little about why rust below!
Re:A GPU-Accelerated Quantum Computer Simulator on Friday April 27, 2018 @06:19PM (#16944907)
Hello, author here - The choice to use rust mainly came from the fact I have more experience with it than with C++. Also, the compiler makes it really easy to write good code.

This, along with really simple testing, benchmarking and the ease of adding dependencies (through crates) made it a good choice. There are almost no downsides from using rust, provided you have experience with it!

Re:Installing Fonts Using Homebrew on Wednesday April 25, 2018 @02:00PM (#16924232)
I would also have to recommend "Quantum Mechanics, The Theoretical Minimum" by Leonard Susskind, if you wish to go a little bit further into general quantum mechanics

Older »