This file contains 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
#!/bin/bash | |
# Is ffmpeg installed | |
if ! [ -x "$(command -v ffmpeg)" ]; then | |
echo "ffmpeg is not installed, exiting now" | |
exit 1 | |
fi | |
OUTPUT=$1 | |
shift |
This file contains 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
class Gate: | |
def apply(self, circuit: BaseQuantumCircuit) -> None | |
def qasm(self) -> String | |
class InvertibleGate(Gate): | |
def inverse(self) -> InvertibleGate | |
class HGate(InvertibleGate): | |
implementation... | |