A Pen by eigenscribe on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Kepler's Laws Simulation</title> | |
| <link rel="stylesheet" href="styles.scss"> | |
| </head> | |
| <body> | |
| <div id="simulation"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <body> | |
| <section> | |
| <div class="icon-container"> | |
| <div class="icon-box about" data-modal="about"> | |
| <i class="fa-regular fa-address-card"></i> | |
| </div> | |
| <div class="icon-box projects" data-modal="projects"> | |
| <i class="fa-solid fa-laptop-code"></i> | |
| </div> | |
| <div class="icon-box testimonial" data-modal="testimonial"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="page"> | |
| <!--Theme switch--> | |
| <input type="checkbox" id="themeSwitch" name="theme-switch" class="theme-switch__input" /> | |
| <label for="themeSwitch" class="theme-switch__label"> | |
| <span class="gradient_text2">Switch theme</span> | |
| </label> | |
| <!--Main page content--> | |
| <main> | |
| <div class="wrapper"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from qiskit import transpile | |
| from qiskit_aer import Aer, AerSimulator, AerJob | |
| def execute(circuits, backend=None, shots=1024, **kwargs): | |
| if backend is None: | |
| backend = AerSimulator() | |
| # Transpile the circuits for the backend | |
| transpiled_circuits = transpile(circuits, backend) | |
A Pen by eigenscribe on CodePen.
A Pen by eigenscribe on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .solar-syst | |
| .sun | |
| .mercury | |
| .venus | |
| .earth | |
| .mars | |
| .jupiter | |
| .saturn | |
| .uranus | |
| .neptune |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Kepler's Laws Simulation</title> | |
| <link rel="stylesheet" href="styles.scss"> | |
| </head> | |
| <body> | |
| <div id="simulation"> |
NewerOlder