Better HN
topnewbestaskshowjobs
Log inSign up

adamisntdead

219 karma · joined Aug 10, 2016 (10y ago) · 59 submissions

Submissions

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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!

comment 5y ago · link · parent

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....

comment 5y ago · link · parent

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)!

comment 5y ago · link · parent

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

6.

The 5/8 Theorem: Maximum Probability of Group Elements Commuting(ak2316.user.srcf.net ↗)

2 points · by adamisntdead · 5y ago · discuss

comment 5y ago · link · parent

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)...

8.

Will Any Crap We Put into Graphene Increase Its Electrocatalytic Effect?(pubs.acs.org ↗)

2 points · by adamisntdead · 6y ago · discuss

9.

Protect Yourself with Password Recipes(luigimontanez.com ↗)

4 points · by adamisntdead · 6y ago · discuss

comment 7y ago · link · parent

Because the pacemakers rotated, they weren't the same all of the way through.

11.

The Genius Who First Predicted Black Holes(medium.com ↗)

3 points · by adamisntdead · 7y ago · 1 comment

12.

Rethinking Set Theory (2012)(arxiv.org ↗)

3 points · by adamisntdead · 7y ago · discuss

comment 7y ago · link · parent

That article had a really nice depth to it, answered all of my questions that I had yesterday when I first saw the project.

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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?

16.

Simulating Quantum Computers Using OpenCL(arxiv.org ↗)

3 points · by adamisntdead · 8y ago · discuss

comment 8y ago · link · parent

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

18.

Qusim.py – A toy quantum computer simulator in 100 lines of Python(github.com ↗)

1 points · by adamisntdead · 8y ago · discuss

19.

Writing a JavaScript Module Bundler(adamisntdead.com ↗)

2 points · by adamisntdead · 8y ago · discuss

comment 8y ago · link · parent

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.

:/

21.

WebAssembly Based Npm Module Starter Code(github.com ↗)

1 points · by adamisntdead · 8y ago · discuss

comment 8y ago · link · parent

Me too, and they say it will be over $500 to fix as they need a whole new casing

comment 8y ago · link · parent

Love the idea - what API are you using for summarization?

comment 8y ago · link · parent

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!

comment 8y ago · link · parent

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

comment 8y ago · link · parent

I wrote a little about why rust below!

comment 8y ago · link · parent

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!

28.

A GPU-Accelerated Quantum Computer Simulator(github.com ↗)

68 points · by adamisntdead · 8y ago · 13 comments

comment 8y ago · link · parent

A bash script works too: https://github.com/adamisntdead/devmymac
12