this post was submitted on 27 Jul 2024
482 points (100.0% liked)

196

16450 readers
1938 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 101 points 3 months ago (4 children)

I write spells (programs) that direct mana (electricity) through runes (logic gates) to conjure illusions (display furries on my screen)

[–] [email protected] 33 points 3 months ago (1 children)

And all of it is done through magical focuses (hardware) created out of transmuted stone (silicon) and metals.

[–] [email protected] 3 points 3 months ago

It's a magic crystal ball.

[–] [email protected] 18 points 3 months ago (1 children)

I keep conjuring these boring niche illusions because these weird townsfolk give me money every couple weeks as long as I keep doing it.

[–] [email protected] 4 points 3 months ago

Hey, if it pays for the orgies, all is well!

Source - The Dragon (Dragon magazine) #10, Page 5 - https://www.annarchive.com/files/Drmg010.pdf

[–] [email protected] 12 points 3 months ago

are you actually working on a project that displays furries on your screen right now? cause if so I am too and I wanna compare notes

[–] [email protected] 4 points 3 months ago

You might like Ra by Sam Hughes

[–] [email protected] 96 points 3 months ago* (last edited 3 months ago) (3 children)

EE major here. All the equations in the third panel are classical electrodynamics. To explain the semiconductors needed to make the switches to make the gates in the second picture, you really need quantum mechanics. You can get away with "fudged" classical mechanics for approximate calculations, but diodes and transistors are bona fide quantum mechanical devices.

But it's also magic lol.

[–] [email protected] 29 points 3 months ago (6 children)

Quantum Physics Postdoc here. Although technically correct this is also somewhat misleading. You need the band structure of solids, which is due to quantization and Pauli exclusion principle. The same quantum mechanics that explains why we did those strange electron energy levels for atoms in highschool. The majority of quantum mechanics, however, is not required: coherence, spin, entanglement, superposition. In the field we describe semiconductors as quantum 1.0, and devices that use entanglement and superposition (i.e. a quantum computer) as quantum 2.0, and smear everything else in-between. This

[–] [email protected] 8 points 3 months ago (1 children)

Quantum Physics Postdoc here.

Can we trade?

Great write-up btw.

[–] [email protected] 9 points 3 months ago

Can we trade?

Oh my sweet summer child, a 100x yes, if only it were possible.

But more seriously, if you're doing EE, the world of quantum is your oyster. Specialize in RF/MW design and implementation, we use it for qubit control, and you'll be highly valuable.

[–] [email protected] 7 points 3 months ago (2 children)

This what?

Oh no! The [clever quantum mechanics joke] got him!

load more comments (2 replies)
[–] [email protected] 3 points 3 months ago (1 children)

Interesting. Does tunneling fall under 1.0 or 2.0? Isn’t it considered a property of classical electrical engineering?

[–] [email protected] 6 points 3 months ago* (last edited 3 months ago) (1 children)

Good question. It would be application specific. I think evanescencnt wave coupling in EM radiation is considered " very classical" (whatever that actually means). But utilizing wave particle duality for tunneling devices is past quantum 1.0 (1.5 maybe?). However, superconductivity tunneling in Josephson junctions in a SQUID is closer to quantum 1.0, but 2.0 if used to generate entangled states for superconducting qbits for quantum computing.

Clear as mud right?

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 27 points 3 months ago* (last edited 3 months ago)

Yes. You need specifically the condensed matter models, that have the added bonus of the equations making little sense without some interesting lattice designs at their side.

Semiconductors specifically have the extra nice feature of depending on time-dependent values, that everybody just hand-waves away and use time-independent ones because it's too much magic.

[–] [email protected] 9 points 3 months ago (3 children)

Hmmm, so all computers are technically quantum computers?

[–] [email protected] 10 points 3 months ago (1 children)

Not at all. In a classical computer, the memory is based on bits of information which can either[1] in state 0 or state 1, and (assuming everything has been designed correctly) won't exist in any other state than the allowed ones. Most classical computers work with binary.

In quantum computing, the memory is based on qubits, which are two-level quantum systems. A qubit can take any linear combination of quantum states |0⟩ and |1⟩. In quantum systems, linear combinations such as Ψ = α|0⟩ + β|1⟩ can use complex coefficients (α and β). Since α = |α|e^jθ is valid for any complex number, this indicates that quantum computing allows bits to have a phase with respect to each other. Geometrically, each bit of memory can "live" anywhere on the Bloch sphere, with |0⟩ at the "south pole" and |1⟩ at the "north pole".

Quantum computing requires a whole new set of gates, and there's issues with coherence that I frankly don't 100% understand yet. And qubits are a whole lot harder to make than classical bits. But if we can find a way to make qubits available to everyone like classical bits are, then we'll be able to get a lot more computing power.

The hardware works due to a quantum mechanical effect, but it is not "quantum" hardware because it doesn't implement a two-bit quantum system.

[1] Classical computers can be designed with N-ary digit memory (for example, trinary can take states 0, 1, and 2), but binary is easier to design for.

[–] [email protected] 5 points 3 months ago* (last edited 3 months ago) (1 children)

then we'll be able to get a lot more computing power.

I think that's not quite true it depends on what you want to calculate. Some problems have more efficient algorithms for quantum computing (famously breaking RSA and other crypto algorithms). But something like a matrix multiplication probably won't benefit.

load more comments (1 replies)
[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

Classical computers compute using 0s and 1s which refer to something physical like voltage levels of 0v or 3.3v respectively. Quantum computers also compute using 0s and 1s that also refers to something physical, like the spin of an electron which can only be up or down. Although these qubits differ because with a classical bit, there is just one thing to "look at" (called "observables") if you want to know its value. If I want to know the voltage level is 0 or 1 I can just take out my multimeter and check. There is just one single observable.

With a qubit, there are actually three observables: σ~x~, σ~y~, and σ~z~. You can think of a qubit like a sphere where you can measure it along its x, y, or z axis. These often correspond in real life to real rotations, for example, you can measure electron spin using something called Stern-Gerlach apparatus and you can measure a different axis by physically rotating the whole apparatus.

How can a single 0 or 1 be associated with three different observables? Well, the qubit can only have a single 0 or 1 at a time, so, let's say, you measure its value on the z-axis, so you measure σ~z~, and you get 0 or 1, then the qubit ceases to have values for σ~x~ or σ~y~. They just don't exist anymore. If you then go measure, let's say, σ~x~, then you will get something entirely random, and then the value for σ~z~ will cease to exist. So it can only hold one bit of information at a time, but measuring it on a different axis will "interfere" with that information.

It's thus not possible to actually know the values for all the different observables because only one exists at a time, but you can also use them in logic gates where one depends on an axis with no value. For example, if you measure a qubit on the σ~z~ axis, you can then pass it through a logic gate where it will flip a second qubit or not flip it because on whether or not σ~x~ is 0 or 1. Of course, if you measured σ~z~, then σ~x~ has no value, so you can't say whether or not it will flip the other qubit, but you can say that they would be correlated with one another (if σ~x~ is 0 then it will not flip it, if it is 1 then it will, and thus they are related to one another). This is basically what entanglement is.

Because you cannot know the outcome when you have certain interactions like this, you can only model the system probabilistically based on the information you do know, and because measuring qubits on one axis erases its value on all others, then some information you know about the system can interfere with (cancel out) other information you know about it. Waves also can interfere with each other, and so oddly enough, it turns out you can model how your predictions of the system evolve over the computation using a wave function which then can be used to derive a probability distribution of the results.

What is even more interesting is that if you have a system like this where you have to model it using a wave function, it turns out it can in principle execute certain algorithms exponentially faster than classical computers. So they are definitely nowhere near the same as classical computers. Their complexity scales up exponentially when trying to simulate quantum computers on a classical computer. Every additional qubit doubles the complexity, and thus it becomes really difficult to even simulate small numbers of qubits. I built my own simulator in C and it uses 45 gigabytes of RAM to simulate just 16. I think the world record is literally only like 56.

load more comments (1 replies)
[–] [email protected] 50 points 3 months ago (4 children)

If you don't think "it's magic" after emag theory... At a certain point the math does start to read like spell craft.

"Yes, yes, but what ratio of turns do we need in the transformer?"

[–] [email protected] 33 points 3 months ago (1 children)

Transistors are basically magic, when you get down to the chemistry of them. But when you get up the "current here means current out there" part it becomes understandable again. Then you get to logic gates, and maybe up to basic addition and other operations. And all understanding disappears when you get to programmable circuits which run on pure magic once again.

[–] [email protected] 6 points 3 months ago

And if you put the 200 layers of abstractions, indirections and quirks on top the transistors, it's magic again.

[–] [email protected] 17 points 3 months ago

I was a signal integrity engineer so emag theory was my job for a while.

Honestly, magic is quite right. At the base level, how these fields are created and how electrons moving around results in these rules is just the magic of how our universe works.

You can discover the rules to live by, but why it works that way gets smaller and smaller until it's magic.

[–] [email protected] 3 points 3 months ago

To a certain extent, it actually is magic. We still don't fully understand the "why" of magnetism, just the "how"

load more comments (1 replies)
[–] [email protected] 42 points 3 months ago (1 children)

It's far more complicated than the last panel makes it out to be.

[–] [email protected] 4 points 3 months ago

Ah if only it was a 2 instead of 3 in your name...

[–] [email protected] 32 points 3 months ago (1 children)

It's magic, and we are enchanting engraved runes.

load more comments (1 replies)
[–] [email protected] 25 points 3 months ago

I feel like there is a pretty big gap between understanding how logic gates and truth tables work and understanding the underlying physics of how modern processors work.

[–] [email protected] 24 points 3 months ago

So crowdstrike was really the digital wizard equivalent of trying to cast "protectum de rectum" and accidentally casting "shid pants" combined with "butt crackus impenetrous"?

Now it all makes sense!

[–] [email protected] 20 points 3 months ago (1 children)
[–] [email protected] 9 points 3 months ago (2 children)
[–] [email protected] 27 points 3 months ago

Any study on a lower level than the mathematics of information processing is under the realm of computer engineering. Computer science is more of a mathematical discipline than anything else, Computer Engineering is more of the intersection of electrical engineering and computer science than anything else.

Computer scientists wouldn't do any research about the electromagnetics of how a computer works, they just trust that the electromagnetic design of the hardware creates a valid Turing machine for them to design programs for.

[–] [email protected] 19 points 3 months ago (2 children)
load more comments (2 replies)
[–] [email protected] 12 points 3 months ago

Each level looks like something I'd expect an undergrad to have at least seen before to be honest.

[–] [email protected] 12 points 3 months ago

pushes up glasses

Actually, that's computer engineering.

[–] [email protected] 11 points 3 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 10 points 3 months ago
[–] [email protected] 8 points 3 months ago (2 children)

What's the physics behind the giant perky fur tits and how is the collar staying closed.

[–] [email protected] 6 points 3 months ago

It's magic.

load more comments (1 replies)
[–] [email protected] 7 points 3 months ago (1 children)

I initially thought the first panel should be "switches!"

[–] [email protected] 4 points 3 months ago

Switchcraft!

[–] [email protected] 7 points 3 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 5 points 3 months ago (3 children)

is that how the alu performs multiplication? with a binary adder?

[–] [email protected] 9 points 3 months ago* (last edited 3 months ago) (3 children)

Yes. Typically, to multiply two n-bit numbers, you need n - 1 n-bit adders. You basically do long multiplication.

I'd upload an image but either voyager or my instance won't let me for some reason, so sorry if this doesn't embed right

[–] [email protected] 3 points 3 months ago

I'd upload an image but either voyager or my instance won't let me for some reason, so sorry if this doesn't embed right

Embedded just fine on my end (Jerboa)

load more comments (2 replies)
load more comments (2 replies)
load more comments
view more: next ›